changeset 717:c8648efaebba

Use proper != NULL comparision.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Feb 2009 16:03:26 +0200
parents 5f215b88d507
children 50c30f624bbd
files src/xs_title.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);         \