diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index d55029b..ea827f2 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -1216,7 +1216,7 @@ void Fluxbox::restart(const char *prog) { | |||
1216 | 1216 | ||
1217 | m_restarting = true; | 1217 | m_restarting = true; |
1218 | 1218 | ||
1219 | if (prog) { | 1219 | if (prog && *prog != '\0') { |
1220 | m_restart_argument = prog; | 1220 | m_restart_argument = prog; |
1221 | } | 1221 | } |
1222 | } | 1222 | } |