# HG changeset patch # User ib # Date 1354535459 0 # Node ID 0477dcdcd6d69dfbbacab85ab95b6cd0aa0d887c # Parent 2173d4fe2ef171341645420590d4d9491f411942 Fix bug with DVD "no chapter" information. The destination contains nothing we could append to. diff -r 2173d4fe2ef1 -r 0477dcdcd6d6 gui/util/string.c --- 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: