summaryrefslogtreecommitdiff
path: root/hw/kdrive/ephyr
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-04-03 11:06:50 -0400
committerAdam Jackson <ajax@redhat.com>2009-04-03 11:08:31 -0400
commitd2690375dfd994817f004cda133ca2a492c0b956 (patch)
treec8c1fa4562caac75d949e0c2b265e3844b302c07 /hw/kdrive/ephyr
parent91b697efdefba125348dbcaf584ee51a7f8c9bf6 (diff)
kdrive: s/KdSaveString/strdup/g
This isn't even funny anymore.
Diffstat (limited to 'hw/kdrive/ephyr')
-rw-r--r--hw/kdrive/ephyr/ephyr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
index fc3d940be..345ae5b91 100644
--- a/hw/kdrive/ephyr/ephyr.c
+++ b/hw/kdrive/ephyr/ephyr.c
@@ -1073,7 +1073,7 @@ MouseInit (KdPointerInfo *pi)
((EphyrPointerPrivate *)pi->driverPrivate)->enabled = FALSE;
pi->nAxes = 3;
pi->nButtons = 32;
- pi->name = KdSaveString("Xephyr virtual mouse");
+ pi->name = strdup("Xephyr virtual mouse");
ephyrMouse = pi;
return Success;
}
@@ -1127,7 +1127,7 @@ EphyrKeyboardInit (KdKeyboardInfo *ki)
ki->keySyms.mapWidth = ephyrKeySyms.mapWidth;
xfree(ki->keySyms.map);
ki->keySyms.map = ephyrKeySyms.map;
- ki->name = KdSaveString("Xephyr virtual keyboard");
+ ki->name = strdup("Xephyr virtual keyboard");
ephyrKbd = ki;
return Success;
}