Mercurial > geeqie.yaz
diff src/editors.c @ 766:7148e125bf23
Check for existing editor command using is_valid_editor_command().
author | zas_ |
---|---|
date | Fri, 30 May 2008 07:20:25 +0000 |
parents | 477f48ba28d8 |
children | ff51413f098d |
line wrap: on
line diff
--- a/src/editors.c Thu May 29 07:58:34 2008 +0000 +++ b/src/editors.c Fri May 30 07:20:25 2008 +0000 @@ -808,7 +808,7 @@ return flags & EDITOR_ERROR_MASK; } -static gint is_valid_editor_command(gint n) +gboolean is_valid_editor_command(gint n) { return (n >= 0 && n < GQ_EDITOR_SLOTS && options->editor[n].command