Mercurial > audlegacy-plugins
diff src/sid/xs_fileinfo.c @ 1596:9ad9b3479b38
Actually only use [!] marker in the subtune menu, not the whole info field.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 05 Sep 2007 02:29:16 +0300 |
parents | ff902c317ecf |
children | 15c07b4cc459 |
line wrap: on
line diff
--- a/src/sid/xs_fileinfo.c Wed Sep 05 02:23:09 2007 +0300 +++ b/src/sid/xs_fileinfo.c Wed Sep 05 02:29:16 2007 +0300 @@ -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; }