(svn r3511) More whitespace ([FS#46] by Rubidium)

This commit is contained in:
tron
2006-02-01 07:36:15 +00:00
parent 9712d6f639
commit 1c3e8630fe
59 changed files with 321 additions and 320 deletions

View File

@@ -140,7 +140,7 @@ static int GetAvailableVideoMode(int *w, int *h)
// is the wanted mode among the available modes?
for (i = 0; i != _num_resolutions; i++) {
if(*w == _resolutions[i][0] && *h == _resolutions[i][1])
if (*w == _resolutions[i][0] && *h == _resolutions[i][1])
return 1;
}
@@ -348,7 +348,7 @@ static int PollEvent(void)
case SDL_QUIT:
// do not ask to quit on the main screen
if (_game_mode != GM_MENU) {
if(_patches.autosave_on_exit) {
if (_patches.autosave_on_exit) {
DoExitSave();
return 0;
} else

View File

@@ -709,7 +709,7 @@ static void Win32GdiMainLoop(void)
_wnd.running = true;
while(true) {
for (;;) {
while (PeekMessage(&mesg, NULL, 0, 0, PM_REMOVE)) {
InteractiveRandom(); // randomness
TranslateMessage(&mesg);