From 279dc1e6b8c9010c0e844aaa06bd18cc36ce06d8 Mon Sep 17 00:00:00 2001 From: yabause Date: Mon, 10 Nov 2008 22:27:08 +0000 Subject: [PATCH] Patch by ico2: changed width to event->width as it was preventing compilation. --- desmume/src/gtk/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 1644d9a28..f5874a4fc 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -706,7 +706,7 @@ common_configure_fn( GtkWidget *widget, /* Height / width ration */ GLfloat ratio; - LOG("wdith %d, height %d\n", event->width, event->height); + LOG("width %d, height %d\n", event->width, event->height); /*** OpenGL BEGIN ***/ if (!gdk_gl_drawable_gl_begin (gldrawable, glcontext)) @@ -763,7 +763,7 @@ common_configure_fn( GtkWidget *widget, right = 256.0 * ((double)event->width / other_dimen); } - LOG("%d,%d\n", width, height); + LOG("%d,%d\n", event->width, event->height); LOG("l %lf, r %lf, t %lf, b %lf, other dimen %lf\n", left, right, top, bottom, other_dimen);