From 852190d512ba5485fbc3a3847457a722926089b3 Mon Sep 17 00:00:00 2001 From: qbix79 Date: Sat, 5 Jul 2008 09:12:36 +0000 Subject: [PATCH] Fix naming error. git-svn-id: https://svn.eduke32.com/eduke32@839 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/include/osd.h | 2 +- polymer/build/src/sdlayer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/build/include/osd.h b/polymer/build/include/osd.h index fcfdb86dd..7760cd9ed 100644 --- a/polymer/build/include/osd.h +++ b/polymer/build/include/osd.h @@ -67,7 +67,7 @@ void OSD_CaptureKey(int sc); // handles keyboard input when capturing input. returns 0 if key was handled // or the scancode if it should be handled by the game. int OSD_HandleScanCode(int sc, int press); -int OSD_HandleChars(char ch); +int OSD_HandleChar(char ch); // handles the readjustment when screen resolution changes void OSD_ResizeDisplay(int w,int h); diff --git a/polymer/build/src/sdlayer.c b/polymer/build/src/sdlayer.c index ba5af081f..945973452 100644 --- a/polymer/build/src/sdlayer.c +++ b/polymer/build/src/sdlayer.c @@ -1420,7 +1420,7 @@ int handleevents(void) (ev.key.keysym.unicode & 0xff80) == 0 && ((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; keyasciififoend = ((keyasciififoend+1)&(KEYFIFOSIZ-1));