diff options
author | nyamatongwe <devnull@localhost> | 2010-03-08 23:52:42 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-03-08 23:52:42 +0000 |
commit | cec475469700aaa6d07eed7155a05ba7792e90d6 (patch) | |
tree | 79d2b8e6ea58f88159027e4e4935c83e16e41a09 | |
parent | 61a88fe139b0f8ea258612856f2c7261eac750b4 (diff) | |
download | scintilla-mirror-cec475469700aaa6d07eed7155a05ba7792e90d6.tar.gz |
Fixed bug #2965482 Break Unicode Build.
-rw-r--r-- | win32/ScintillaWin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 3e83990b1..e3dc8b474 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -344,11 +344,11 @@ void ScintillaWin::Initialise() { hrOle = ::OleInitialize(NULL); // Find TrackMouseEvent which is available on Windows > 95 - HMODULE user32 = ::GetModuleHandle("user32.dll"); + HMODULE user32 = ::GetModuleHandle(TEXT("user32.dll")); TrackMouseEventFn = (TrackMouseEventSig)::GetProcAddress(user32, "TrackMouseEvent"); if (TrackMouseEventFn == NULL) { // Windows 95 has an emulation in comctl32.dll:_TrackMouseEvent - HMODULE commctrl32 = ::LoadLibrary("comctl32.dll"); + HMODULE commctrl32 = ::LoadLibrary(TEXT("comctl32.dll")); if (commctrl32 != NULL) { TrackMouseEventFn = (TrackMouseEventSig) ::GetProcAddress(commctrl32, "_TrackMouseEvent"); |