diff lwlib/xlwmenu.c @ 84:ac0620f6398e r20-0b92

Import from CVS: tag r20-0b92
author cvs
date Mon, 13 Aug 2007 09:08:29 +0200
parents 1ce6082ce73f
children 8619ce7e4c50
line wrap: on
line diff
--- a/lwlib/xlwmenu.c	Mon Aug 13 09:07:39 2007 +0200
+++ b/lwlib/xlwmenu.c	Mon Aug 13 09:08:29 2007 +0200
@@ -383,7 +383,7 @@
 	{
 	  *out++ = firstp ? tolower (ch) : toupper (ch);
 	  firstp = False;
-	  while ((ch = massaged_resource_char[(unsigned char) *in++]) != NULL)
+	  while ((ch = massaged_resource_char[(unsigned char) *in++]) != '\0')
 	    *out++ = ch;
 	  if (!*(in-1))		/* Overshot the NULL byte? */
 	    break;