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:
f646b8b
)
Remove ambiguity in string compare.
author
James Woodcock
<james_woodcock@yahoo.co.uk>
Thu, 9 Aug 2012 19:59:32 +0000
(20:59 +0100)
committer
Jon Trulson
<jon@radscan.com>
Thu, 9 Aug 2012 19:55:54 +0000
(13:55 -0600)
cde/lib/tt/lib/db/tt_db_property.h
patch
|
blob
|
history
diff --git
a/cde/lib/tt/lib/db/tt_db_property.h
b/cde/lib/tt/lib/db/tt_db_property.h
index 76062e13f4eb6ee7e7305039b8539740be4d3155..80e145f64a0f296a78bbbb3b43fd15ae6335c060 100644
(file)
--- a/
cde/lib/tt/lib/db/tt_db_property.h
+++ b/
cde/lib/tt/lib/db/tt_db_property.h
@@
-57,7
+57,7
@@
public:
int i = 0;
_Tt_string_list_cursor values_cursor(values);
while (values_cursor.next()) {
- if (*values_cursor != (char*)NULL)
+ if (*values_cursor != (c
onst c
har*)NULL)
fprintf(file, "Property Value #%d: %s\n", i, (char *)*values_cursor);
else fprintf(file, "Property Value #%d: NULL\n", i);
i++;