From d7bc51150cff738d7e808a214d877be33829c60f Mon Sep 17 00:00:00 2001 From: Miriam Ruiz Date: Wed, 3 Dec 2008 12:18:47 +0100 Subject: [PATCH] Remove reference to _default_font _default_font seems to have dissappeared in Allegro 4.2 According to the original author, function xedit_proc is not used anywhere in the code, so commenting out these lines won't hurt. Miriam Ruiz , January 2006 --- src/guiprocs.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/guiprocs.c b/src/guiprocs.c index e84e862..5218658 100644 --- a/src/guiprocs.c +++ b/src/guiprocs.c @@ -562,11 +562,19 @@ int xedit_proc(int msg, DIALOG *d, int c) if(d->dp2) { button.x = d->x + d->w - button.w - 1; - edit.w -= button.w; + edit.w -= button.w; +/* + _default_font seems to have dissappeared in Allegro 4.2 + According to the original author, function xedit_proc is not used anywhere in the code, so commenting out + these lines won't hurt. + Miriam Ruiz , January 2006 +*/ + +/* if(font == &_default_font) button.dp = "_"; +*/ } - switch(msg) { case MSG_START: -- 2.11.4.GIT