diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-07 20:03:07 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-07 20:03:07 +0300 |
commit | b25e8d1955f51b15d566b7e73199b044cfe0efa3 (patch) | |
tree | 370cf29bb5bc17df959b7c1f0c6c347a9f0db20b /log.cpp | |
parent | 461183308684de712dc674382a86f87707a19a2a (diff) |
bugfixes
Diffstat (limited to 'log.cpp')
-rw-r--r-- | log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -22,7 +22,7 @@ logtofile& logtofile::operator<<(TCHAR *buf) if(bDebugLog) { char *tmp = mir_utf8encodeW(buf); - log.open(path, std::ios::app |std::ios::ate |std::ios::binary); + log.open(path, std::ios::app |std::ios::ate); log<<tmp; log.close(); mir_free(tmp); @@ -35,7 +35,7 @@ logtofile& logtofile::operator<<(char *buf) if(bDebugLog) { char *tmp = mir_utf8encode(buf); - log.open(path, std::ios::app |std::ios::ate |std::ios::binary); + log.open(path, std::ios::app |std::ios::ate); log<<tmp; log.close(); mir_free(tmp); @@ -48,7 +48,7 @@ logtofile& logtofile::operator<<(string buf) if(bDebugLog) { char *tmp = mir_utf8encode(buf.c_str()); - log.open(path, std::ios::app |std::ios::ate |std::ios::binary); + log.open(path, std::ios::app |std::ios::ate); log<<tmp; log.close(); mir_free(tmp); @@ -61,7 +61,7 @@ logtofile& logtofile::operator<<(wstring buf) if(bDebugLog) { char *tmp = mir_utf8encodeW(buf.c_str()); - log.open(path, std::ios::app |std::ios::ate |std::ios::binary); + log.open(path, std::ios::app |std::ios::ate); log<<tmp; log.close(); mir_free(tmp); |