(svn r23470) -Codechange: move declaration of SwitchToMode to a header instead of declaring it in 6 other files
This commit is contained in:
@@ -1700,7 +1700,6 @@ void DrawDirtyBlocks()
|
||||
_modal_progress_paint_mutex->BeginCritical();
|
||||
_modal_progress_work_mutex->BeginCritical();
|
||||
|
||||
extern void SwitchToMode(SwitchMode new_mode);
|
||||
if (_switch_mode != SM_NONE && !HasModalProgress()) {
|
||||
SwitchToMode(_switch_mode);
|
||||
_switch_mode = SM_NONE;
|
||||
|
Reference in New Issue
Block a user