WMSaveSession.C: NULL is not 0
This commit is contained in:
@@ -437,7 +437,7 @@ RoamMenuWindow::restoreSession(char *buf)
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
ptr = strchr (workspaces, '*');
|
ptr = strchr (workspaces, '*');
|
||||||
if (ptr != NULL) *ptr = NULL;
|
if (ptr != NULL) *ptr = 0;
|
||||||
|
|
||||||
workspace_atoms = (Atom*) XtRealloc(
|
workspace_atoms = (Atom*) XtRealloc(
|
||||||
(char*) workspace_atoms,
|
(char*) workspace_atoms,
|
||||||
@@ -638,7 +638,7 @@ SendMsgDialog::restoreSession(char *buf)
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
ptr = strchr(workspaces, '*');
|
ptr = strchr(workspaces, '*');
|
||||||
if (ptr != NULL) *ptr = NULL;
|
if (ptr != NULL) *ptr = 0;
|
||||||
|
|
||||||
workspace_atoms = (Atom*) XtRealloc(
|
workspace_atoms = (Atom*) XtRealloc(
|
||||||
(char*) workspace_atoms,
|
(char*) workspace_atoms,
|
||||||
|
|||||||
Reference in New Issue
Block a user