diff options
| author | Lionel Ulmer | 2002-04-20 17:55:05 +0000 | 
|---|---|---|
| committer | Lionel Ulmer | 2002-04-20 17:55:05 +0000 | 
| commit | fcf50ee69946288bb0125cdab7604a3ded1f145c (patch) | |
| tree | 4fb5dca9407213c250995c5ad366316f05387b4d /x11.cpp | |
| parent | c673d1c760b43e7e011c0eaffd6028390a860438 (diff) | |
| download | scummvm-rg350-fcf50ee69946288bb0125cdab7604a3ded1f145c.tar.gz scummvm-rg350-fcf50ee69946288bb0125cdab7604a3ded1f145c.tar.bz2 scummvm-rg350-fcf50ee69946288bb0125cdab7604a3ded1f145c.zip  | |
Small fix thanks to valgrind.
svn-id: r4025
Diffstat (limited to 'x11.cpp')
| -rw-r--r-- | x11.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
@@ -382,7 +382,7 @@ bool OSystem_X11::set_sound_proc(void *param, SoundProc *proc, byte format) {  	thread_param.format = format;  	if (format == SOUND_16BIT) -		pthread_create(&sound_thread, NULL, sound_and_music_thread, (void *) &thread_param); +	  ; /* pthread_create(&sound_thread, NULL, sound_and_music_thread, (void *) &thread_param); */  	else  		warning("Only support 16 bit sound for now. Disabling sound "); @@ -759,6 +759,7 @@ bool OSystem_X11::poll_event(Event *scumm_event) {  				scumm_event->event_code = EVENT_KEYDOWN;  				scumm_event->kbd.keycode = keycode;  				scumm_event->kbd.ascii = (ascii != -1 ? ascii : keycode); +				scumm_event->kbd.flags = 0;  				return true;  			}  		} break;  | 
