diff options
author | Daniel Carl <danielcarl@gmx.de> | 2014-06-03 17:53:24 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2014-06-03 17:53:24 +0200 |
commit | b0eb2fcb259752919ae62efbc629d5e26f5ba12b (patch) | |
tree | c7ab6bdc8e66c1f88cd01d6bbb23f01b47f091d2 /src/input.c | |
parent | ccf89e684d22285c4155a58e32f809f9a17088e4 (diff) |
Use g_return_*() function to avoid programming issues.
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index 56f135c..7aa166a 100644 --- a/src/input.c +++ b/src/input.c @@ -83,7 +83,7 @@ VbResult input_open_editor(void) GPid pid; gboolean success; - if (!vb.config.editor_command) { + if (!vb.config.editor_command || !*vb.config.editor_command) { vb_echo(VB_MSG_ERROR, true, "No editor-command configured"); return RESULT_ERROR; } |