projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22a0f8f
)
dtmail: fix warning: comparison is always false
author
Marcin Cieslak
<saper@saper.info>
Mon, 24 Sep 2012 11:36:17 +0000
(13:36 +0200)
committer
Jon Trulson
<jon@radscan.com>
Tue, 25 Sep 2012 00:27:45 +0000
(18:27 -0600)
This warning was caused by a typo:
warning: comparison is always false due to limited range of data type
cde/programs/dtmail/dtmail/dtb_utils.C
patch
|
blob
|
history
diff --git
a/cde/programs/dtmail/dtmail/dtb_utils.C
b/cde/programs/dtmail/dtmail/dtb_utils.C
index 1e5a5196457ca48d43f13bed83ec41400e987604..04f80303f9cd04d9df75d3b430b46823bfab4e0c 100644
(file)
--- a/
cde/programs/dtmail/dtmail/dtb_utils.C
+++ b/
cde/programs/dtmail/dtmail/dtb_utils.C
@@
-963,7
+963,7
@@
dtb_help_back_hdlr(
** Parse the combined volume/locationID string. Disable the "More..."
** 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) {
XtSetSensitive(more_button,False);
}