From b62c1509e0a1af7f9bde0ffaba10eaf19d09f708 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 4 Jan 2013 11:01:00 -0500 Subject: [PATCH] ints should be reset to 0, not NULL. I know it's a macro, but this is just begging to be abused somehow. --- src/arch/InputHandler/InputHandler_DirectInputHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp b/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp index a493502baf..f4b51ff9d0 100644 --- a/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp +++ b/src/arch/InputHandler/InputHandler_DirectInputHelper.cpp @@ -137,7 +137,7 @@ void DIDevice::Close() Device->Release(); Device = NULL; - buttons = axes = hats = NULL; + buttons = axes = hats = 0; Inputs.clear(); }