Mercurial > geeqie.yaz
diff src/options.c @ 768:ff51413f098d
Use functions to set editors name and command and ensure they are
utf8-encoded.
Previously, non-utf8 strings from rc file caused some issues.
author | zas_ |
---|---|
date | Fri, 30 May 2008 08:39:52 +0000 |
parents | ae618ebec3e9 |
children | df541dc41707 |
line wrap: on
line diff
--- a/src/options.c Fri May 30 08:36:23 2008 +0000 +++ b/src/options.c Fri May 30 08:39:52 2008 +0000 @@ -164,8 +164,8 @@ for (i = 0; i < GQ_EDITOR_SLOTS; i++) { - options->editor[i].name = NULL; - options->editor[i].command = NULL; + editor_set_name(i, NULL); + editor_set_command(i, NULL); } editor_reset_defaults();