diff options
author | Keith Packard <keithp@keithp.com> | 2011-09-21 14:17:14 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-09-21 14:17:14 -0700 |
commit | b018b815333b256b5e06dd6251b2e539f09f89fa (patch) | |
tree | 36ad230532acb86b2770509d60c01878fa071b41 /hw/dmx/input/dmxinputinit.c | |
parent | 03d032991da21bf866ca30dcbb6b7f9f99df441a (diff) | |
parent | 0f380a5005f800572773cd4667ce43c7459cc467 (diff) |
Merge remote-tracking branch 'jamey/reviewed'
Diffstat (limited to 'hw/dmx/input/dmxinputinit.c')
-rw-r--r-- | hw/dmx/input/dmxinputinit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/dmx/input/dmxinputinit.c b/hw/dmx/input/dmxinputinit.c index 1b067c725..16ecae38d 100644 --- a/hw/dmx/input/dmxinputinit.c +++ b/hw/dmx/input/dmxinputinit.c @@ -671,9 +671,9 @@ static char *dmxMakeUniqueDeviceName(DMXLocalInputInfoPtr dmxLocal) } switch (dmxLocal->type) { - case DMX_LOCAL_KEYBOARD: XmuSnprintf(buf, LEN, "Keyboard%d", k++); break; - case DMX_LOCAL_MOUSE: XmuSnprintf(buf, LEN, "Mouse%d", m++); break; - default: XmuSnprintf(buf, LEN, "Other%d", o++); break; + case DMX_LOCAL_KEYBOARD: snprintf(buf, LEN, "Keyboard%d", k++); break; + case DMX_LOCAL_MOUSE: snprintf(buf, LEN, "Mouse%d", m++); break; + default: snprintf(buf, LEN, "Other%d", o++); break; } return buf; |