diff gui/util/string.c @ 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 ab09ed2d181b
children 411875efca3f
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: