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:
committed by
Jon Trulson
parent
22a0f8f497
commit
c70978e986
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user