mirror of https://github.com/OpenTTD/OpenTTD
(svn r12956) -Codechange: Code-style application on switch-case aligment
parent
72120a48c4
commit
0eab2c07c2
|
@ -566,6 +566,7 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case IVW_GOTO:
|
case IVW_GOTO:
|
||||||
i = GetIndustry(w->window_number);
|
i = GetIndustry(w->window_number);
|
||||||
if (_ctrl_pressed) {
|
if (_ctrl_pressed) {
|
||||||
|
@ -573,10 +574,10 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e)
|
||||||
} else {
|
} else {
|
||||||
ScrollMainWindowToTile(i->xy + TileDiffXY(1, 1));
|
ScrollMainWindowToTile(i->xy + TileDiffXY(1, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} break;
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case WE_TIMEOUT:
|
case WE_TIMEOUT:
|
||||||
WP(w, indview_d).clicked_line = 0;
|
WP(w, indview_d).clicked_line = 0;
|
||||||
WP(w, indview_d).clicked_button = 0;
|
WP(w, indview_d).clicked_button = 0;
|
||||||
|
|
Loading…
Reference in New Issue