diff mm7_2.cpp @ 293:27670273a6ff

little fix npc gen
author Gloval
date Tue, 19 Feb 2013 01:23:04 +0400
parents 0ea5fbd16edb
children af7e848d6def
line wrap: on
line diff
--- a/mm7_2.cpp	Tue Feb 19 00:37:12 2013 +0400
+++ b/mm7_2.cpp	Tue Feb 19 01:23:04 2013 +0400
@@ -12871,7 +12871,7 @@
   _wgetcwd(pCurrentDir, 1024);
 
   wchar_t pMM6IniFile[1024];
-  wsprintf(pMM6IniFile, L"%s\\mm6.ini", pCurrentDir);
+  wsprintfW(pMM6IniFile, L"%s\\mm6.ini", pCurrentDir);
 
   bCanLoadFromCD = GetPrivateProfileIntW(L"settings", L"use_cd", 1, pMM6IniFile);
   if (bNoCD)