src/newgrf_gui.cpp
changeset 6488 b6c42e91bb35
parent 6377 c1bc323eaf0c
child 6783 5171c53c717d
equal deleted inserted replaced
6487:beeeb8979e81 6488:b6c42e91bb35
   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;