1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

WMSaveSession.C: NULL is not 0

This commit is contained in:
Jon Trulson 2014-04-06 16:54:31 -06:00
parent 4a22f0671b
commit 10e295b967

View 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,