summaryrefslogtreecommitdiff
path: root/zen/last_error.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:07 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:07 +0200
commit88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170 (patch)
treec6c5babb49b90293380106b81ae5c446959ac70f /zen/last_error.h
parent5.3 (diff)
downloadFreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.gz
FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.bz2
FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.zip
5.4
Diffstat (limited to 'zen/last_error.h')
-rw-r--r--zen/last_error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/last_error.h b/zen/last_error.h
index 28982b63..76850f6a 100644
--- a/zen/last_error.h
+++ b/zen/last_error.h
@@ -8,7 +8,7 @@
#define SYSTEMFUNCTIONS_H_INCLUDED
#include <string>
-#include "utf8.h"
+#include "utf.h"
#include "i18n.h"
#ifdef FFS_WIN
@@ -116,7 +116,7 @@ std::wstring getLastErrorFormatted(ErrorCode lastError)
replace(output, L"%x", numberTo<std::wstring>(lastError));
output += L" ";
- output += utf8CvrtTo<std::wstring>(::strerror(lastError));
+ output += utfCvrtTo<std::wstring>(::strerror(lastError));
errno = lastError; //restore errno
return output;
bgstack15