diff --git a/src/shell-util.c b/src/shell-util.c index d6815b957..f1afed071 100644 --- a/src/shell-util.c +++ b/src/shell-util.c @@ -229,7 +229,7 @@ shell_util_translate_time_string (const char *str) setlocale (LC_MESSAGES, locale); sep = strchr (str, '\004'); - res = g_dpgettext (NULL, str, sep ? sep - str : 0); + res = g_dpgettext (NULL, str, sep ? sep - str + 1 : 0); setlocale (LC_MESSAGES, "");