[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netPanzer-CVS] netpanzer/src/UILib/SDL SDLDraw.cpp
From: |
Matthias Braun |
Subject: |
[netPanzer-CVS] netpanzer/src/UILib/SDL SDLDraw.cpp |
Date: |
Fri, 12 Sep 2003 16:45:26 -0400 |
CVSROOT: /cvsroot/netpanzer
Module name: netpanzer
Branch:
Changes by: Matthias Braun <address@hidden> 03/09/12 16:45:26
Modified files:
src/UILib/SDL : SDLDraw.cpp
Log message:
small fix to workaround SDL bug with InitSubSystem after EnableUNICODE
Patches:
Index: netpanzer/src/UILib/SDL/SDLDraw.cpp
diff -u netpanzer/src/UILib/SDL/SDLDraw.cpp:1.12
netpanzer/src/UILib/SDL/SDLDraw.cpp:1.13
--- netpanzer/src/UILib/SDL/SDLDraw.cpp:1.12 Thu Sep 11 13:35:47 2003
+++ netpanzer/src/UILib/SDL/SDLDraw.cpp Fri Sep 12 16:45:26 2003
@@ -22,6 +22,8 @@
: FrontBuffer(0)
{
SDL_InitSubSystem(SDL_INIT_VIDEO);
+ // XXX SDL contains a bug, that makes it loose the unicode state :-/
+ SDL_EnableUNICODE(1);
}
SDLDraw::~SDLDraw()