Changeset - r1571:459fee8e3038
[Not reviewed]
master
0 2 0
truelight - 19 years ago 2005-03-26 12:08:56
truelight@openttd.org
(svn r2075) -Fix: added missing breaks in switches
-Fix: added const for a const variable
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
clear_cmd.c
Show inline comments
 
@@ -549,7 +549,7 @@ void TileLoopClearHelper(TileIndex tile)
 
{
 
	byte img_1;
 
	byte img_2;
 
	static byte img_by_map5[] = { 0, 0, 0, 2, 1, 1, 0, 0 };
 
	static const byte img_by_map5[] = { 0, 0, 0, 2, 1, 1, 0, 0 };
 
	TileIndex dirty = INVALID_TILE;
 

	
 
	switch (GetTileType(tile)) {
main_gui.c
Show inline comments
 
@@ -1105,6 +1105,7 @@ static void AskResetLandscapeWndProc(Win
 
	case WE_PAINT:
 
		DrawWindowWidgets(w);
 
		DrawStringMultiCenter(90, 38, mode?STR_022D_ARE_YOU_SURE_YOU_WANT_TO:STR_GENERATE_RANDOM_LANDSCAPE , 168);
 
		break;
 
	case WE_CLICK:
 
		switch(e->click.widget) {
 
		case 3:
 
@@ -1125,6 +1126,7 @@ static void AskResetLandscapeWndProc(Win
 

	
 
			break;
 
		}
 
		break;
 
	}
 
}
 

	
0 comments (0 inline, 0 general)