summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-22 10:36:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-22 10:36:34 +0000
commitc1db4b67aedccc906463903601897658ffdc2d60 (patch)
tree06a9b6310f2f7ac4a7e02196893aab8d0de9ddd4
parentd746e092b2f10583c56888ed805682b2ef224c91 (diff)
fix for some crazy code
git-svn-id: http://svn.miranda-ng.org/main/trunk@1521 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--include/m_netlib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index fb0d13f27b..301ba8ace3 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -784,9 +784,9 @@ static INT_PTR Netlib_Logf(HANDLE hUser, const char *fmt, ...)
__except(EXCEPTION_EXECUTE_HANDLER) {}
return 0;
}
- #define Netlib_LogfW Netlib_LogfT
+ #define Netlib_LogfT Netlib_LogfW
#else
- #define Netlib_LogfW Netlib_Logf
+ #define Netlib_LogfT Netlib_Logf
#endif
#endif //defined va_start
@@ -797,9 +797,9 @@ static INT_PTR Netlib_Logf(HANDLE hUser, const char *fmt, ...)
#define NNR_UNICODE 1
#ifdef UNICODE
-#define NNR_TCHAR 1
+ #define NNR_TCHAR NNR_UNICODE
#else
-#define NNR_TCHAR 0
+ #define NNR_TCHAR 0
#endif
// Inits a required security provider. Right now only NTLM is supported