From 10e295b9676bd864885219866b4e65ec33816632 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sun, 6 Apr 2014 16:54:31 -0600 Subject: [PATCH] WMSaveSession.C: NULL is not 0 --- cde/programs/dtmail/dtmail/WMSaveSession.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cde/programs/dtmail/dtmail/WMSaveSession.C b/cde/programs/dtmail/dtmail/WMSaveSession.C index fcccf0a3..a0348e5f 100644 --- 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, -- 2.25.1