diff options
| author | nyamatongwe <unknown> | 2010-03-08 23:52:42 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-03-08 23:52:42 +0000 |
| commit | 6a1603f334fcb231838393354fdb946dc45d99f2 (patch) | |
| tree | 79d2b8e6ea58f88159027e4e4935c83e16e41a09 | |
| parent | 97417a54da63c3a8e8921bbba52fb3adf725a9fc (diff) | |
| download | scintilla-mirror-6a1603f334fcb231838393354fdb946dc45d99f2.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"); |
