Changeset - r22203:5bd482cbc593
[Not reviewed]
master
0 1 0
rubidium - 9 years ago 2015-08-12 20:50:10
rubidium@openttd.org
(svn r27383) -Fix: win32 sound driver would not catch the exception due to constness difference
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/sound/win32_s.cpp
Show inline comments
 
@@ -81,7 +81,7 @@ const char *SoundDriver_Win32::Start(con
 
		PrepareHeader(&_wave_hdr[1]);
 

	
 
		if (NULL == (_thread = CreateThread(NULL, 8192, SoundThread, 0, 0, &_threadId))) throw "Failed to create thread";
 
	} catch (char *error) {
 
	} catch (const char *error) {
 
		this->Stop();
 
		return error;
 
	}
0 comments (0 inline, 0 general)