[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:
Don Ho 2009-08-03 23:36:30 +00:00
parent 761bdc5116
commit 846a96e4a3

View File

@ -36,7 +36,7 @@ public:
virtual void init(HINSTANCE hInst, HWND parent) virtual void init(HINSTANCE hInst, HWND parent)
{ {
StaticDialog::init(hInst, 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()); _moduleName = PathFindFileName(_moduleName.c_str());
} }