[BUG_FIXED] Fix the ANSI build compiling problem.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@517 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
761bdc5116
commit
846a96e4a3
@ -36,7 +36,7 @@ public:
|
||||
virtual void init(HINSTANCE hInst, HWND parent)
|
||||
{
|
||||
StaticDialog::init(hInst, parent);
|
||||
::GetModuleFileName((HMODULE)hInst, (LPWCH)_moduleName.c_str(), MAX_PATH);
|
||||
::GetModuleFileName((HMODULE)hInst, (TCHAR *)_moduleName.c_str(), MAX_PATH);
|
||||
_moduleName = PathFindFileName(_moduleName.c_str());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user