mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Remove ambiguity in string compare.
This commit is contained in:
parent
f646b8b1a1
commit
d1848610a7
1 changed files with 1 additions and 1 deletions
|
@ -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 != (const char*)NULL)
|
||||
fprintf(file, "Property Value #%d: %s\n", i, (char *)*values_cursor);
|
||||
else fprintf(file, "Property Value #%d: NULL\n", i);
|
||||
i++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue