Mercurial > hg > xmms-sid
diff src/xs_title.c @ 717:c8648efaebba
Use proper != NULL comparision.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Feb 2009 16:03:26 +0200 |
parents | b0743dc9165d |
children | 50c30f624bbd |
line wrap: on
line diff
--- a/src/xs_title.c Mon Feb 09 15:42:32 2009 +0200 +++ b/src/xs_title.c Mon Feb 09 16:03:26 2009 +0200 @@ -55,7 +55,7 @@ if (index < XS_BUF_SIZE) tmpBuf[index++] = MCH; #define VPUTSTR(MSTR) { \ - if (MSTR) { \ + if (MSTR != NULL) { \ if ((index + strlen(MSTR) + 1) < XS_BUF_SIZE) {\ strcpy(&tmpBuf[index], MSTR); \ index += strlen(MSTR); \