From: Jon Trulson Date: Sun, 6 Apr 2014 22:54:31 +0000 (-0600) Subject: WMSaveSession.C: NULL is not 0 X-Git-Tag: 2.2.2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=10e295b9676bd864885219866b4e65ec33816632;p=oweals%2Fcde.git WMSaveSession.C: NULL is not 0 --- 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,