From df74260252056f44b0a34d62ce3a903b948e26b1 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 28 Mar 2002 17:16:37 +0000 Subject: [PATCH] Fixed buffer size again. --- src/Input/input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 1009ccbd9..749ca5714 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -651,7 +651,7 @@ FGInput::_init_mouse () // Read the button bindings for this mode m.modes[j].buttons = new button[MAX_MOUSE_BUTTONS]; - char buf[8]; + char buf[32]; for (k = 0; k < MAX_MOUSE_BUTTONS; k++) { sprintf(buf, "mouse button %d", k); SG_LOG(SG_INPUT, SG_DEBUG, "Initializing mouse button " << k);