(svn r1966) - Fix: [ 1110437 ] Replace Vehicles GUI gets random clicks. Breaks people! Don't forget the breaks in switch() statements!!
This commit is contained in:
		@@ -842,7 +842,7 @@ static void ReplaceVehicleWndProc(Window *w, WindowEvent *e)
 | 
				
			|||||||
						break;
 | 
											break;
 | 
				
			||||||
					}   // end of VEH_Aircraft
 | 
										}   // end of VEH_Aircraft
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}   // end of paint
 | 
								} break;   // end of paint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		case WE_CLICK: {
 | 
							case WE_CLICK: {
 | 
				
			||||||
			switch(e->click.widget) {
 | 
								switch(e->click.widget) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user