---
 lib/Xm/Xpms_popen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/Xm/Xpms_popen.c
+++ b/lib/Xm/Xpms_popen.c
@@ -56,7 +56,7 @@ FILE *Xpms_popen(char *cmd, const char *
   char *cmdcpy;
 
 
-  if(cmd == NULL || cmd == "")
+  if(cmd == NULL || cmd[0] == '\0')
     return(NULL);
 
   if(type[0] != 'r' && type[0] != 'w')
