diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-08 21:46:10 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-08 21:46:10 +0900 |
| commit | 02307cee0a395d8405d0e160664d4a37c79fe16c (patch) | |
| tree | bf897205f2e9f8262bd9a92e7e9eb078ba93bf98 /src/File.cc | |
| parent | 7368c9c9d8515232204d3708a3e2233454368aec (diff) | |
Removed utf8ToNative from log message and exception message.
Diffstat (limited to 'src/File.cc')
| -rw-r--r-- | src/File.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/File.cc b/src/File.cc index 9a998cd4..c2ac72c0 100644 --- a/src/File.cc +++ b/src/File.cc @@ -148,14 +148,13 @@ bool File::mkdirs() { } #endif // __MINGW32__ std::string dir = std::string(begin, j); - A2_LOG_DEBUG(fmt("Making directory %s", utf8ToNative(dir).c_str())); + A2_LOG_DEBUG(fmt("Making directory %s", dir.c_str())); if(File(dir).isDir()) { - A2_LOG_DEBUG(fmt("%s exists and is a directory.", - utf8ToNative(dir).c_str())); + A2_LOG_DEBUG(fmt("%s exists and is a directory.", dir.c_str())); continue; } if(a2mkdir(utf8ToWChar(dir).c_str(), DIR_OPEN_MODE) == -1) { - A2_LOG_DEBUG(fmt("Failed to create %s", utf8ToNative(dir).c_str())); + A2_LOG_DEBUG(fmt("Failed to create %s", dir.c_str())); return false; } } |
