diff --git a/cde/programs/dtmail/dtmail/WMSaveSession.C b/cde/programs/dtmail/dtmail/WMSaveSession.C index fcccf0a34..a0348e5ff 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,