diff options
Diffstat (limited to 'src/app.h')
-rw-r--r-- | src/app.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -86,7 +86,9 @@ void postCommand_App (const char *command); | |||
86 | void postCommandf_App (const char *command, ...); | 86 | void postCommandf_App (const char *command, ...); |
87 | 87 | ||
88 | iLocalDef void postCommandString_App(const iString *command) { | 88 | iLocalDef void postCommandString_App(const iString *command) { |
89 | postCommand_App(cstr_String(command)); | 89 | if (command) { |
90 | postCommand_App(cstr_String(command)); | ||
91 | } | ||
90 | } | 92 | } |
91 | 93 | ||
92 | void openInDefaultBrowser_App (const iString *url); | 94 | void openInDefaultBrowser_App (const iString *url); |