Changeset - r12510:3025eceeb262
[Not reviewed]
master
0 2 0
frosch - 15 years ago 2009-07-25 15:58:48
frosch@openttd.org
(svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window.
2 files changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/settings_gui.cpp
Show inline comments
 
@@ -333,7 +333,6 @@ struct GameOptionsWindow : Window {
 
				CheckForMissingGlyphsInLoadedLanguagePack();
 
				UpdateAllStationVirtCoords();
 
				ReInitAllWindows();
 
				MarkWholeScreenDirty();
 
				break;
 

	
 
			case GOW_RESOLUTION_DROPDOWN: // Change resolution
src/window.cpp
Show inline comments
 
@@ -2556,6 +2556,10 @@ void ReInitAllWindows()
 
	FOR_ALL_WINDOWS_FROM_BACK(w) {
 
		w->ReInit();
 
	}
 

	
 
	/* Make sure essential parts of all windows are visible */
 
	RelocateAllWindows(_cur_resolution.width, _cur_resolution.height);
 
	MarkWholeScreenDirty();
 
}
 

	
 
/**
0 comments (0 inline, 0 general)