]> git.mxchange.org Git - flightgear.git/commitdiff
Fixed buffer size again.
authordavid <david>
Thu, 28 Mar 2002 17:16:37 +0000 (17:16 +0000)
committerdavid <david>
Thu, 28 Mar 2002 17:16:37 +0000 (17:16 +0000)
src/Input/input.cxx

index 1009ccbd9b9fcbcac03590df165b698d95d681cf..749ca5714d6644f526525361c7fc4a5259d08364 100644 (file)
@@ -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);