summaryrefslogtreecommitdiff
path: root/prop.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:12 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:12 +0000
commit0931db85d9f68cc2c2c957102ea1ff0393b489a5 (patch)
treeab38b28dc9802c61dfbe63e3d3ff619f1fd0688d /prop.c
parentb17cee6189110ce86a0dc1e848dfa9b73f78c300 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branch
Diffstat (limited to 'prop.c')
-rw-r--r--prop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/prop.c b/prop.c
index 5255a0b..18b9551 100644
--- a/prop.c
+++ b/prop.c
@@ -23,7 +23,7 @@ Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
******************************************************************************/
-/* $XFree86: xc/programs/xsm/prop.c,v 1.5 2001/12/14 20:02:26 dawes Exp $ */
+/* $XFree86: xc/programs/xsm/prop.c,v 1.6 2003/03/26 20:44:00 tsi Exp $ */
#include "xsm.h"
#include "info.h"
@@ -191,7 +191,7 @@ SetProperty(ClientRec *client, SmProp *theProp, Bool freeIt)
if (client->saveDiscardCommand)
XtFree (client->saveDiscardCommand);
client->saveDiscardCommand =
- (char *) XtNewString (theProp->vals[0].value);
+ (char *) XtNewString ((char *) theProp->vals[0].value);
client->receivedDiscardCommand = True;
}
@@ -200,7 +200,7 @@ SetProperty(ClientRec *client, SmProp *theProp, Bool freeIt)
if (client->discardCommand)
XtFree (client->discardCommand);
client->discardCommand =
- (char *) XtNewString (theProp->vals[0].value);
+ (char *) XtNewString ((char *) theProp->vals[0].value);
}
}
else if (strcmp (theProp->name, SmRestartStyleHint) == 0)