diff options
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); |