WMSaveSession.C: NULL is not 0
authorJon Trulson <jon@radscan.com>
Sun, 6 Apr 2014 22:54:31 +0000 (16:54 -0600)
committerJon Trulson <jon@radscan.com>
Sun, 6 Apr 2014 22:54:31 +0000 (16:54 -0600)
cde/programs/dtmail/dtmail/WMSaveSession.C

index fcccf0a34dad2430c4b349cbdc5b7c306a5d3142..a0348e5ffe5ab2e72dae49e5136f8f795d560137 100644 (file)
@@ -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,