changeset 645:0fb760355283

Actually only use [!] marker in the subtune menu, not the whole info field.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 04 Sep 2007 23:30:01 +0000
parents 1684092c2bc9
children 5f2682738867
files src/xs_fileinfo.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xs_fileinfo.c	Tue Sep 04 21:03:03 2007 +0000
+++ b/src/xs_fileinfo.c	Tue Sep 04 23:30:01 2007 +0000
@@ -260,9 +260,8 @@
 				isSet = TRUE;
 			}
 
-			if (tmpNode->pInfo) {
-				xs_pnstrcat(tmpStr, sizeof(tmpStr),
-					isSet ? " [!]" : tmpNode->pInfo);
+			if (tmpNode->pInfo && isSet) {
+				xs_pnstrcat(tmpStr, sizeof(tmpStr), " [!]");
 				isSet = TRUE;
 			}