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:
4a22f06
)
WMSaveSession.C: NULL is not 0
author
Jon Trulson
<jon@radscan.com>
Sun, 6 Apr 2014 22:54:31 +0000
(16:54 -0600)
committer
Jon Trulson
<jon@radscan.com>
Sun, 6 Apr 2014 22:54:31 +0000
(16:54 -0600)
cde/programs/dtmail/dtmail/WMSaveSession.C
patch
|
blob
|
history
diff --git
a/cde/programs/dtmail/dtmail/WMSaveSession.C
b/cde/programs/dtmail/dtmail/WMSaveSession.C
index fcccf0a34dad2430c4b349cbdc5b7c306a5d3142..a0348e5ffe5ab2e72dae49e5136f8f795d560137 100644
(file)
--- a/
cde/programs/dtmail/dtmail/WMSaveSession.C
+++ b/
cde/programs/dtmail/dtmail/WMSaveSession.C
@@
-437,7
+437,7
@@
RoamMenuWindow::restoreSession(char *buf)
do
{
ptr = strchr (workspaces, '*');
- if (ptr != NULL) *ptr =
NULL
;
+ if (ptr != NULL) *ptr =
0
;
workspace_atoms = (Atom*) XtRealloc(
(char*) workspace_atoms,
@@
-638,7
+638,7
@@
SendMsgDialog::restoreSession(char *buf)
do
{
ptr = strchr(workspaces, '*');
- if (ptr != NULL) *ptr =
NULL
;
+ if (ptr != NULL) *ptr =
0
;
workspace_atoms = (Atom*) XtRealloc(
(char*) workspace_atoms,