Mercurial > sdl-ios-xcode
changeset 2199:7e1caa8452f3
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 15 Jul 2007 16:59:16 +0000 |
parents | fe19afb86473 |
children | 893c862eed86 |
files | src/video/gem/SDL_gemevents.c src/video/gem/SDL_gemmodes.c src/video/gem/SDL_gemvideo.c |
diffstat | 3 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/gem/SDL_gemevents.c Sun Jul 15 01:51:11 2007 +0000 +++ b/src/video/gem/SDL_gemevents.c Sun Jul 15 16:59:16 2007 +0000 @@ -77,7 +77,7 @@ wind_get(GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2); event_mask |= MU_M1; mouse_event = ((SDL_GetAppState() & SDL_APPMOUSEFOCUS) == - SDL_APPMOUSEFOCUS) ? MO_LEAVE : MO_ENTER; + SDL_APPMOUSEFOCUS) ? MO_LEAVE : MO_ENTER; } resultat = evnt_multi(event_mask, @@ -107,7 +107,7 @@ if (this->input_grab == SDL_GRAB_OFF) { /* Switch mouse focus state */ SDL_PrivateAppActive((mouse_event == MO_ENTER), - SDL_APPMOUSEFOCUS); + SDL_APPMOUSEFOCUS); } GEM_CheckMouseMode(this); }
--- a/src/video/gem/SDL_gemmodes.c Sun Jul 15 01:51:11 2007 +0000 +++ b/src/video/gem/SDL_gemmodes.c Sun Jul 15 16:59:16 2007 +0000 @@ -36,10 +36,9 @@ /* read vdi bpp, rmask, gmask, bmask, amask */ - mode.format = - SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask); - mode.w = 0 /* vdi width */; - mode.h = 0 /* vdi height */; + mode.format = SDL_MasksToPixelFormatEnum(bpp, Rmask, Gmask, Bmask, Amask); + mode.w = 0 /* vdi width */ ; + mode.h = 0 /* vdi height */ ; mode.refresh_rate = 0; mode.driverdata = NULL;
--- a/src/video/gem/SDL_gemvideo.c Sun Jul 15 01:51:11 2007 +0000 +++ b/src/video/gem/SDL_gemvideo.c Sun Jul 15 16:59:16 2007 +0000 @@ -151,7 +151,7 @@ data->wfeatures = 0; if (appl_getinfo(AES_WINDOW, &ap_gout[0], &ap_gout[1], &ap_gout[2], - &ap_gout[3]) == 0) { + &ap_gout[3]) == 0) { data->wfeatures = ap_gout[0]; } }