src/newgrf_gui.cpp
branchgamebalance
changeset 9909 dce9a6923bb7
parent 9907 3b068c3a1c74
child 9912 1ac8aac92385
equal deleted inserted replaced
9908:0fa543611bbe 9909:dce9a6923bb7
   294 	SetWindowWidgetDisabledState(w, SNGRFS_APPLY_CHANGES, !WP(w, newgrf_d).editable);
   294 	SetWindowWidgetDisabledState(w, SNGRFS_APPLY_CHANGES, !WP(w, newgrf_d).editable);
   295 }
   295 }
   296 
   296 
   297 
   297 
   298 /** Callback function for the newgrf 'apply changes' confirmation window
   298 /** Callback function for the newgrf 'apply changes' confirmation window
   299  * @param yes_clicked boolean value, true when yes was clicked, false otherwise */
   299  * @param w Window which is calling this callback
       
   300  * @param confirmed boolean value, true when yes was clicked, false otherwise
       
   301  */
   300 static void NewGRFConfirmationCallback(Window *w, bool confirmed)
   302 static void NewGRFConfirmationCallback(Window *w, bool confirmed)
   301 {
   303 {
   302 	if (confirmed) {
   304 	if (confirmed) {
   303 		newgrf_d *nd = &WP(w, newgrf_d);
   305 		newgrf_d *nd = &WP(w, newgrf_d);
   304 		GRFConfig *c;
   306 		GRFConfig *c;