changeset 35482:0477dcdcd6d6

Fix bug with DVD "no chapter" information. The destination contains nothing we could append to.
author ib
date Mon, 03 Dec 2012 11:50:59 +0000
parents 2173d4fe2ef1
children 8ac7761bcb7c
files gui/util/string.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/string.c	Mon Dec 03 11:22:13 2012 +0000
+++ b/gui/util/string.c	Mon Dec 03 11:50:59 2012 +0000
@@ -314,7 +314,7 @@
         if (guiInfo.Chapter)
             snprintf(fname, maxlen, MSGTR_Chapter, guiInfo.Chapter);
         else
-            av_strlcat(fname, MSGTR_NoChapter, maxlen);
+            av_strlcpy(fname, MSGTR_NoChapter, maxlen);
         break;
 
     default: