diff -r 47ae980bace3 -r f2491d3c321b src/order_gui.cpp --- a/src/order_gui.cpp Tue May 06 21:28:30 2008 +0000 +++ b/src/order_gui.cpp Tue May 06 22:08:18 2008 +0000 @@ -799,7 +799,7 @@ /* This was a click on an empty part of the orders window, so * deselect the currently selected order. */ WP(w, order_d).sel = -1; - SetWindowDirty(w); + w->SetDirty(); return; } @@ -831,7 +831,7 @@ } } - SetWindowDirty(w); + w->SetDirty(); } break; case ORDER_WIDGET_SKIP: