From 83918cccc9d4930a967c3e7f0547490199ff8889 Mon Sep 17 00:00:00 2001 From: "Unknown (NI)" Date: Thu, 20 Jul 2000 18:14:23 +0000 Subject: [PATCH] umph, had made a dangerous mistake git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/glcanvas.cpp | 2 +- src/gtk1/glcanvas.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp index 5cd38dcbbe..01f39b67b2 100644 --- a/src/gtk/glcanvas.cpp +++ b/src/gtk/glcanvas.cpp @@ -309,7 +309,7 @@ bool wxGLCanvas::Create( wxWindow *parent, } else { - int data[512], arg=0, p=0; + int arg=0, p=0; while( (attribList[arg]!=0) && (p<510) ) { diff --git a/src/gtk1/glcanvas.cpp b/src/gtk1/glcanvas.cpp index 5cd38dcbbe..01f39b67b2 100644 --- a/src/gtk1/glcanvas.cpp +++ b/src/gtk1/glcanvas.cpp @@ -309,7 +309,7 @@ bool wxGLCanvas::Create( wxWindow *parent, } else { - int data[512], arg=0, p=0; + int arg=0, p=0; while( (attribList[arg]!=0) && (p<510) ) {