diff options
Diffstat (limited to 'protocols/ICQCorp/src/corp.cpp')
-rw-r--r-- | protocols/ICQCorp/src/corp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQCorp/src/corp.cpp b/protocols/ICQCorp/src/corp.cpp index 27f4abaf00..2687a3e9fc 100644 --- a/protocols/ICQCorp/src/corp.cpp +++ b/protocols/ICQCorp/src/corp.cpp @@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "corp.h"
+#include "stdafx.h"
///////////////////////////////////////////////////////////////////////////////
@@ -103,7 +103,7 @@ void T(char *format, ...) static HANDLE hFile = INVALID_HANDLE_VALUE;
if (hFile == INVALID_HANDLE_VALUE) {
- hFile = CreateFile("ICQ Corp.log", GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, nullptr, OPEN_ALWAYS, 0, nullptr);
+ hFile = CreateFileW(L"ICQ Corp.log", GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, nullptr, OPEN_ALWAYS, 0, nullptr);
SetFilePointer(hFile, 0, nullptr, FILE_END);
}
|