diff options
author | jstebbins <[email protected]> | 2015-03-18 21:20:06 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-03-18 21:20:06 +0000 |
commit | 3e026ffb7dab010cad55c17977a3c15ed7df58c3 (patch) | |
tree | 057431ed994e989c7da81be9ee1e769f65d33d89 /gtk/src/subtitlehandler.c | |
parent | 75b85c09888b121f9a6c7a2d3d4ac186f2d07183 (diff) |
LinGui: fix off-by-one error in subtitle track selection
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7003 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/subtitlehandler.c')
-rw-r--r-- | gtk/src/subtitlehandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c index 9b07203d6..9efc9c57d 100644 --- a/gtk/src/subtitlehandler.c +++ b/gtk/src/subtitlehandler.c @@ -552,7 +552,7 @@ ghb_set_pref_subtitle_settings(signal_user_data_t *ud, const hb_title_t *title, // is foreign language. foreign_audio_search = FALSE; track = ghb_find_subtitle_track(title, pref_lang, 0); - if (track > 0) + if (track >= 0) { gboolean burn; hb_subtitle_t *subtitle; |