Mercurial > hg > forks > geeqie
changeset 2755:db7fa530da47
Bug fix: Mnemonic text for marks
Incorrect initialization
author | Colin Clark <colin.clark@cclark.uk> |
---|---|
date | Wed, 16 May 2018 10:04:01 +0100 |
parents | ce0e8d548c0a |
children | f2f01d556f51 |
files | src/options.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/options.c Tue May 15 09:37:55 2018 +0100 +++ b/src/options.c Wed May 16 10:04:01 2018 +0100 @@ -82,10 +82,6 @@ options->fullscreen.screen = -1; options->marks_save = TRUE; - for (i = 0; i < FILEDATA_MARKS_SIZE; i++) - { - options->marks_tooltips[i] = g_strdup_printf("%s%d", _("Mark "), i + 1); - } memset(&options->image.border_color, 0, sizeof(options->image.border_color)); memset(&options->image.alpha_color_1, 0, sizeof(options->image.alpha_color_1)); @@ -219,6 +215,11 @@ options->shell.path = g_strdup(GQ_DEFAULT_SHELL_PATH); options->shell.options = g_strdup(GQ_DEFAULT_SHELL_OPTIONS); + + for (i = 0; i < FILEDATA_MARKS_SIZE; i++) + { + options->marks_tooltips[i] = g_strdup_printf("%s%d", _("Mark "), i + 1); + } } void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src)