diff options
Diffstat (limited to 'win32/PlatWin.cxx')
| -rw-r--r-- | win32/PlatWin.cxx | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 654cf3a27..d2f76c916 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -880,8 +880,10 @@ void Platform::DebugPrintf(const char *, ...) {  static bool assertionPopUps = true; -void Platform::ShowAssertionPopUps(bool assertionPopUps_) { +bool Platform::ShowAssertionPopUps(bool assertionPopUps_) { +	bool ret = assertionPopUps;  	assertionPopUps = assertionPopUps_; +	return ret;  }  void Platform::Assert(const char *c, const char *file, int line) { | 
