Code

Fixes bug #0000360
authorKalle Wallin <kaw@linux.se>
Sun, 13 Feb 2005 19:51:38 +0000 (19:51 +0000)
committerKalle Wallin <kaw@linux.se>
Sun, 13 Feb 2005 19:51:38 +0000 (19:51 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@2948 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/main.c

index ece1ad593064d1dcfa7326224ef766c4511a0f56..8a48dc5faf632c5ea984e612d8f64838931c1bdc 100644 (file)
@@ -104,7 +104,7 @@ update_xterm_title(void)
   if( strncmp(title,tmp,BUFSIZE) )
     {
       g_strlcpy(title, tmp, BUFSIZE);
-      set_xterm_title(title);
+      set_xterm_title("%s", title);
     }
 }