[Scummvm-cvs-logs] SF.net SVN: scummvm: [27554] scummvm/trunk/gui/options.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Wed Jun 20 16:29:46 CEST 2007


Revision: 27554
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27554&view=rev
Author:   Kirben
Date:     2007-06-20 07:29:45 -0700 (Wed, 20 Jun 2007)

Log Message:
-----------
Fix reading the speech_mute setting, the global setting was read, instead of the domain specific setting.

Modified Paths:
--------------
    scummvm/trunk/gui/options.cpp

Modified: scummvm/trunk/gui/options.cpp
===================================================================
--- scummvm/trunk/gui/options.cpp	2007-06-20 01:45:38 UTC (rev 27553)
+++ scummvm/trunk/gui/options.cpp	2007-06-20 14:29:45 UTC (rev 27554)
@@ -238,7 +238,7 @@
 		int speed;
 		int sliderMaxValue = _subSpeedSlider->getMaxValue();
 
-		_subMode = getSubtitleMode(ConfMan.getBool("subtitles", _domain), ConfMan.getBool("speech_mute"));
+		_subMode = getSubtitleMode(ConfMan.getBool("subtitles", _domain), ConfMan.getBool("speech_mute", _domain));
 		_subToggleButton->setLabel(_subModeDesc[_subMode]);
 
 		// Engines that reuse the subtitle speed widget set their own max value.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list