comparison src/video/windib/SDL_dibevents.c @ 975:add87cc1de0a

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 Nov 2004 21:11:44 +0000
parents b8427b5151ed
children a78acdd4967e
comparison
equal deleted inserted replaced
974:b8427b5151ed 975:add87cc1de0a
366 #define CS_BYTEALIGNCLIENT 0 366 #define CS_BYTEALIGNCLIENT 0
367 #endif 367 #endif
368 SDL_RegisterApp("SDL_app", CS_BYTEALIGNCLIENT, 0); 368 SDL_RegisterApp("SDL_app", CS_BYTEALIGNCLIENT, 0);
369 if ( SDL_windowid ) { 369 if ( SDL_windowid ) {
370 SDL_Window = (HWND)strtol(SDL_windowid, NULL, 0); 370 SDL_Window = (HWND)strtol(SDL_windowid, NULL, 0);
371
372 if ( SDL_Window == NULL ) { 371 if ( SDL_Window == NULL ) {
373 SDL_SetError("Couldn't get user specified window"); 372 SDL_SetError("Couldn't get user specified window");
374 return(-1); 373 return(-1);
375 } 374 }
376 375