Commit 6793a28d authored by Sam Lantinga's avatar Sam Lantinga

indent

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402537
parent cfcb0787
......@@ -77,7 +77,7 @@ GEM_PumpEvents(_THIS)
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 @@ GEM_PumpEvents(_THIS)
if (this->input_grab == SDL_GRAB_OFF) {
/* Switch mouse focus state */
SDL_PrivateAppActive((mouse_event == MO_ENTER),
SDL_APPMOUSEFOCUS);
SDL_APPMOUSEFOCUS);
}
GEM_CheckMouseMode(this);
}
......
......@@ -36,10 +36,9 @@ GEM_InitModes(_THIS)
/* 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;
......
......@@ -151,7 +151,7 @@ GEM_VideoInit(_THIS)
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];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment