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:
parent
4a22f0671b
commit
10e295b967
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue