Fix naming error.

git-svn-id: https://svn.eduke32.com/eduke32@839 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
qbix79 2008-07-05 09:12:36 +00:00
parent 9a29dae7b3
commit 852190d512
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ void OSD_CaptureKey(int sc);
// handles keyboard input when capturing input. returns 0 if key was handled // handles keyboard input when capturing input. returns 0 if key was handled
// or the scancode if it should be handled by the game. // or the scancode if it should be handled by the game.
int OSD_HandleScanCode(int sc, int press); int OSD_HandleScanCode(int sc, int press);
int OSD_HandleChars(char ch); int OSD_HandleChar(char ch);
// handles the readjustment when screen resolution changes // handles the readjustment when screen resolution changes
void OSD_ResizeDisplay(int w,int h); void OSD_ResizeDisplay(int w,int h);

View file

@ -1420,7 +1420,7 @@ int handleevents(void)
(ev.key.keysym.unicode & 0xff80) == 0 && (ev.key.keysym.unicode & 0xff80) == 0 &&
((keyasciififoend+1)&(KEYFIFOSIZ-1)) != keyasciififoplc) ((keyasciififoend+1)&(KEYFIFOSIZ-1)) != keyasciififoplc)
{ {
if (OSD_HandleChars(ev.key.keysym.unicode & 0x7f)) if (OSD_HandleChar(ev.key.keysym.unicode & 0x7f))
{ {
keyasciififo[keyasciififoend] = ev.key.keysym.unicode & 0x7f; keyasciififo[keyasciififoend] = ev.key.keysym.unicode & 0x7f;
keyasciififoend = ((keyasciififoend+1)&(KEYFIFOSIZ-1)); keyasciififoend = ((keyasciififoend+1)&(KEYFIFOSIZ-1));