diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/callbacks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 9b765958d..7475f478d 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -604,9 +604,9 @@ set_destination_settings(signal_user_data_t *ud, GValue *settings) } else if (!strncmp(p, "{title}", strlen("{title}"))) { - gint title = ghb_settings_get_int(settings, "title_no"); + gint title = ghb_settings_get_int(settings, "title"); if (title >= 0) - g_string_append_printf(str, "%d", title+1); + g_string_append_printf(str, "%d", title); p += strlen("{title}"); } else if (!strncmp(p, "{chapters}", strlen("{chapters}"))) |