Added curly brackets back.

"So that's what those were for!"
ver1_5_1
Pat Suwalski 2005-12-05 19:04:06 +00:00
parent ff98adb181
commit f184e0a8fa
1 changed files with 14 additions and 10 deletions

View File

@ -1898,19 +1898,23 @@ void CelestiaCore::charEntered(const char *c_p, int modifiers)
break;
case '(':
char buf[128];
Galaxy::decreaseLightGain();
sprintf(buf, "%s: %3.2f %%", _("Light gain"), Galaxy::getLightGain() * 100.0f);
flash(buf);
notifyWatchers(GalaxyLightGainChanged);
{
char buf[128];
Galaxy::decreaseLightGain();
sprintf(buf, "%s: %3.2f %%", _("Light gain"), Galaxy::getLightGain() * 100.0f);
flash(buf);
notifyWatchers(GalaxyLightGainChanged);
}
break;
case ')':
char buf[128];
Galaxy::increaseLightGain();
sprintf(buf, "%s: %3.2f %%", _("Light gain"), Galaxy::getLightGain() * 100.0f);
flash(buf);
notifyWatchers(GalaxyLightGainChanged);
{
char buf[128];
Galaxy::increaseLightGain();
sprintf(buf, "%s: %3.2f %%", _("Light gain"), Galaxy::getLightGain() * 100.0f);
flash(buf);
notifyWatchers(GalaxyLightGainChanged);
}
break;
case '~':