# HG changeset patch # User Matti Hamalainen # Date 1234188206 -7200 # Node ID c8648efaebba1ffadf0646f69729b71e366b147d # Parent 5f215b88d507c3b3ab27865878025763c9b02f71 Use proper != NULL comparision. diff -r 5f215b88d507 -r c8648efaebba src/xs_title.c --- 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); \