1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtmail: fix warning: comparison is always false

This warning was caused by a typo:

warning: comparison is always false due to limited range of data type
This commit is contained in:
Marcin Cieslak 2012-09-24 13:36:17 +02:00 committed by Jon Trulson
parent 22a0f8f497
commit c70978e986

View file

@ -963,7 +963,7 @@ dtb_help_back_hdlr(
** Parse the combined volume/locationID string. Disable the "More..." ** Parse the combined volume/locationID string. Disable the "More..."
** button if there isn't any help info, and enable it if there is. ** button if there isn't any help info, and enable it if there is.
*/ */
if( buffer == 0 || (*buffer == '/0') || if( buffer == 0 || (*buffer == '\0') ||
(cp=strrchr(buffer,'/')) == (char *)NULL) { (cp=strrchr(buffer,'/')) == (char *)NULL) {
XtSetSensitive(more_button,False); XtSetSensitive(more_button,False);
} }