Skip to content
Permalink
Browse files

Patched to compile on Windows.

  • Loading branch information
icculus committed Sep 11, 2011
1 parent d558750 commit f8003690716fa83d3694698d436533fa81528bb6
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/video/wincommon/SDL_lowvideo.h
  2. +1 −1 src/video/wincommon/SDL_sysevents.c
@@ -141,7 +141,7 @@ extern void DX5_SoundFocus(HWND window);
LRESULT CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);

/* JFP: Implementation of ToUnicode() that works on 9x/ME/2K/XP */
typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, PBYTE, LPWSTR, int, UINT);
typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, const BYTE *, LPWSTR, int, UINT);

extern ToUnicodeFN SDL_ToUnicode;

@@ -816,7 +816,7 @@ static int GetCodePage()
return cp;
}

static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, const PBYTE keystate, LPWSTR wchars, int wsize, UINT flags)
static int WINAPI ToUnicode9xME(UINT vkey, UINT scancode, const BYTE *keystate, LPWSTR wchars, int wsize, UINT flags)
{
BYTE chars[2];

0 comments on commit f800369

Please sign in to comment.