[dasher] The point of the TEXT() macro is to do the right thing wrt UNICODE.



commit e291820915354d82c542bcc45cdea896954e7912
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Fri Sep 28 11:51:16 2012 +0100

    The point of the TEXT() macro is to do the right thing wrt UNICODE.

 Src/DasherCore/MemoryLeak.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/Src/DasherCore/MemoryLeak.cpp b/Src/DasherCore/MemoryLeak.cpp
index 6a2f3ef..94e2306 100644
--- a/Src/DasherCore/MemoryLeak.cpp
+++ b/Src/DasherCore/MemoryLeak.cpp
@@ -18,11 +18,7 @@ void SetOutputLeaksToFile()
 #ifdef _DEBUG
   HANDLE hLogFile;
 
-#ifdef _UNICODE
-  hLogFile = CreateFile(L"memory_leak.log", 
-#else
   hLogFile = CreateFile(TEXT("memory_leak.log"), 
-#endif
     GENERIC_WRITE, 
     FILE_SHARE_WRITE, 
     NULL, 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]