Changeset - r8070:eaca8ae19bb8
[Not reviewed]
master
0 2 0
glx - 17 years ago 2007-12-14 00:25:00
glx@openttd.org
(svn r11631) -Fix (r11585, r11626): remove MSVC warnings
2 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
src/main_gui.cpp
Show inline comments
 
@@ -1677,12 +1677,12 @@ static void MainToolbarWndProc(Window *w
 
	} break;
 

	
 
	case WE_MOUSELOOP:
 
		if (w->IsWidgetLowered(0) != (bool)_pause_game) {
 
		if (w->IsWidgetLowered(0) != !!_pause_game) {
 
			w->ToggleWidgetLoweredState(0);
 
			w->InvalidateWidget(0);
 
		}
 

	
 
		if (w->IsWidgetLowered(1) != (bool)_fast_forward) {
 
		if (w->IsWidgetLowered(1) != !!_fast_forward) {
 
			w->ToggleWidgetLoweredState(1);
 
			w->InvalidateWidget(1);
 
		}
 
@@ -1986,12 +1986,12 @@ static void ScenEditToolbarWndProc(Windo
 
	} break;
 

	
 
	case WE_MOUSELOOP:
 
		if (w->IsWidgetLowered(0) != (bool)_pause_game) {
 
		if (w->IsWidgetLowered(0) != !!_pause_game) {
 
			w->ToggleWidgetLoweredState(0);
 
			SetWindowDirty(w);
 
		}
 

	
 
		if (w->IsWidgetLowered(1) != (bool)_fast_forward) {
 
		if (w->IsWidgetLowered(1) != !!_fast_forward) {
 
			w->ToggleWidgetLoweredState(1);
 
			SetWindowDirty(w);
 
		}
src/newgrf_gui.cpp
Show inline comments
 
@@ -131,7 +131,7 @@ static void NewGRFAddDlgWndProc(Window *
 
		case WE_PAINT: {
 
			const GRFConfig *c;
 
			const Widget *wl = &w->widget[ANGRFW_GRF_LIST];
 
			uint n = 0;
 
			int n = 0;
 

	
 
			/* Count the number of GRFs */
 
			for (c = _all_grfs; c != NULL; c = c->next) n++;
0 comments (0 inline, 0 general)