From 632cba06181c1aafce3e76cdcb14bdf13f55ad3d Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Mon, 6 Jul 2009 13:33:12 +0000 Subject: [PATCH] No, Spike, you're not programming C++. Besides, b was already declared once. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3240 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidlinuxglx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_vidlinuxglx.c b/engine/gl/gl_vidlinuxglx.c index 78521bb37..03ced0402 100644 --- a/engine/gl/gl_vidlinuxglx.c +++ b/engine/gl/gl_vidlinuxglx.c @@ -399,7 +399,7 @@ static void GetEvent(void) break; case KeyPress: case KeyRelease: - int b = XLateKey(&event.xkey); + b = XLateKey(&event.xkey); Key_Event(b, b, event.type == KeyPress); break;