dtpad: kill one warning

This commit is contained in:
Marcin Cieslak 2012-09-24 03:15:21 +02:00 committed by Jon Trulson
parent e077181a46
commit 86cb67de90
1 changed files with 1 additions and 1 deletions

View File

@ -1107,7 +1107,7 @@ SetWorkSpaceHints(
{
ptr = MbStrchr (workspaces, ' ');
if (ptr != NULL) *ptr = NULL;
if (ptr != NULL) *ptr = 0;
workspace_atoms = (Atom *) XtRealloc ((char *)workspace_atoms,
sizeof (Atom) * (num_workspaces + 1));