aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-04 15:30:26 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-04 15:30:26 +0000
commit267cfada59cdde1442d32c0f76d0a05e37ec505a (patch)
tree8d1c2d8861dee4d8c714d0ca0202eb0392c1db35
parentb9de68ac22d1b77d88ff366e5d77c205ab0c46e5 (diff)
downloadioquake3-aero-267cfada59cdde1442d32c0f76d0a05e37ec505a.tar.gz
ioquake3-aero-267cfada59cdde1442d32c0f76d0a05e37ec505a.zip
Removed some tab chars.
git-svn-id: svn://svn.icculus.org/quake3/trunk@82 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/unix/sdl_glimp.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c
index 47ec86d..25b08bb 100644
--- a/code/unix/sdl_glimp.c
+++ b/code/unix/sdl_glimp.c
@@ -196,7 +196,7 @@ static const char *XLateKey(SDL_keysym *keysym, int *key)
case SDLK_PAUSE: *key = K_PAUSE; break;
case SDLK_LSHIFT:
- case SDLK_RSHIFT: *key = K_SHIFT; break;
+ case SDLK_RSHIFT: *key = K_SHIFT; break;
case SDLK_LCTRL:
case SDLK_RCTRL: *key = K_CTRL; break;
@@ -220,9 +220,9 @@ static const char *XLateKey(SDL_keysym *keysym, int *key)
{
char ch = (char) keysym->unicode;
if (ch == '~')
- *key = '~'; // console HACK
+ *key = '~'; // console HACK
else if (ch >= 'A' && ch <= 'Z')
- ch = ch - 'A' + 'a';
+ ch = ch - 'A' + 'a';
buf[0] = ch;
}
@@ -252,7 +252,7 @@ static void printkey(const SDL_Event* event)
{
printf(" unicode: %hx", event->key.keysym.unicode);
if (event->key.keysym.unicode >= '0'
- && event->key.keysym.unicode <= '~') // printable?
+ && event->key.keysym.unicode <= '~') // printable?
printf(" (%c)", (unsigned char)(event->key.keysym.unicode));
}
puts("");
@@ -629,18 +629,18 @@ static int GLW_SetMode( const char *drivername, int mode, qboolean fullscreen )
if (tcolorbits == 24)
sdlcolorbits = 8;
- SDL_GL_SetAttribute( SDL_GL_RED_SIZE, sdlcolorbits );
- SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, sdlcolorbits );
- SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, sdlcolorbits );
- SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, tdepthbits );
- SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, tstencilbits );
- SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
-
- SDL_WM_SetCaption(WINDOW_CLASS_NAME, WINDOW_CLASS_NAME_BRIEF);
- SDL_ShowCursor(0);
- SDL_EnableUNICODE(1);
- SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
- sdlrepeatenabled = qtrue;
+ SDL_GL_SetAttribute( SDL_GL_RED_SIZE, sdlcolorbits );
+ SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, sdlcolorbits );
+ SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, sdlcolorbits );
+ SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, tdepthbits );
+ SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, tstencilbits );
+ SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
+
+ SDL_WM_SetCaption(WINDOW_CLASS_NAME, WINDOW_CLASS_NAME_BRIEF);
+ SDL_ShowCursor(0);
+ SDL_EnableUNICODE(1);
+ SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
+ sdlrepeatenabled = qtrue;
if (!(vidscreen = SDL_SetVideoMode(glConfig.vidWidth, glConfig.vidHeight, colorbits, flags)))
{