projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dtcm: Resolve CID 87408
[oweals/cde.git]
/
cde
/
programs
/
dtcm
/
dtcm
/
cm_insert.c
diff --git
a/cde/programs/dtcm/dtcm/cm_insert.c
b/cde/programs/dtcm/dtcm/cm_insert.c
index 05d2281b47f8a47e903062dcd5b502bb6b441f23..5edb3e5f9991013b4b1a53c1cc6b99f4966a729a 100644
(file)
--- a/
cde/programs/dtcm/dtcm/cm_insert.c
+++ b/
cde/programs/dtcm/dtcm/cm_insert.c
@@
-225,7
+225,7
@@
prompt_for_insert(Props *p) {
printf("%s", catgets(DT_catd, 1, 205,
"What (you may enter up to 5 lines, use ^D to finish):\n"));
- cm_what[0] =
NULL
;
+ cm_what[0] =
'\0'
;
for (index = 0; index < 5; index++)
{
*what_buffer = '\0';