1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58:08 +01:00

Remove curly brackets

...as they were completely wrapped up by another pair of curly brackets.
This commit is contained in:
Tobias Stoeckmann
2012-05-05 09:57:20 +02:00
committed by Carlos R. Mafra
parent cbff60297e
commit 6bc550d91b

View File

@@ -213,7 +213,6 @@ static void shutdownCommand(WMenu * menu, WMenuEntry * entry)
if ((long)entry->clientdata == M_QUICK) if ((long)entry->clientdata == M_QUICK)
result = R_CLOSE; result = R_CLOSE;
else { else {
{
int r, oldSaveSessionFlag; int r, oldSaveSessionFlag;
oldSaveSessionFlag = wPreferences.save_session_on_exit; oldSaveSessionFlag = wPreferences.save_session_on_exit;
@@ -230,13 +229,10 @@ static void shutdownCommand(WMenu * menu, WMenuEntry * entry)
wPreferences.save_session_on_exit = oldSaveSessionFlag; wPreferences.save_session_on_exit = oldSaveSessionFlag;
} }
} }
}
if (result != R_CANCEL) { if (result != R_CANCEL) {
{
Shutdown(WSKillMode); Shutdown(WSKillMode);
} }
}
#undef R_CLOSE #undef R_CLOSE
#undef R_CANCEL #undef R_CANCEL
#undef R_KILL #undef R_KILL