From e0152e85e9acbea33591190470e78127a5825d66 Mon Sep 17 00:00:00 2001 From: Vitaliy Margolen Date: Sat, 27 Dec 2008 11:23:11 -0700 Subject: [PATCH] dinput: snprintf zero-terminates string no need to do it explicitly. --- dlls/dinput/joystick_linuxinput.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c index 8df143a7c02..95666e8df46 100644 --- a/dlls/dinput/joystick_linuxinput.c +++ b/dlls/dinput/joystick_linuxinput.c @@ -221,15 +221,15 @@ static void find_joydevs(void) /* Someone beat us to it */ return; - for (i=0;i