aboutsummaryrefslogtreecommitdiff
path: root/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/gui.cpp')
-rw-r--r--gui/gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index c26a522693..94e36b2e3d 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -596,10 +596,10 @@ void Gui::handleSoundDialogCommand(int cmd)
_s->_mixer->setVolume(_s->_sound->_sound_volume_sfx);
_s->_mixer->setMusicVolume(_s->_sound->_sound_volume_music);
- scummcfg->setInt("master_volume", _s->_sound->_sound_volume_master);
- scummcfg->setInt("music_volume", _s->_sound->_sound_volume_music);
- scummcfg->setInt("sfx_volume", _s->_sound->_sound_volume_sfx);
- scummcfg->flush();
+ g_config->setInt("master_volume", _s->_sound->_sound_volume_master);
+ g_config->setInt("music_volume", _s->_sound->_sound_volume_music);
+ g_config->setInt("sfx_volume", _s->_sound->_sound_volume_sfx);
+ g_config->flush();
close();
} else {