From: Holger Schemel Date: Wed, 4 Aug 2010 09:05:19 +0000 (+0200) Subject: rnd-20100804-1-src X-Git-Tag: 3.3.1.0^2~8 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=c9d6bf3e1c97cb9988d12b60023ad5ea1806a0bb rnd-20100804-1-src * fixed wrong argument order in DrawTextBuffer() in gadgets.c --- diff --git a/ChangeLog b/ChangeLog index 08221dca..66054c8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2010-08-04 + * fixed wrong argument order in DrawTextBuffer() in gadgets.c + 2010-07-19 * fixed some problems with half tile size and even tile sized playfields diff --git a/src/conftime.h b/src/conftime.h index 9909b538..579330aa 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "2010-07-19 21:04" +#define COMPILE_DATE_STRING "2010-08-04 11:02" diff --git a/src/libgame/gadgets.c b/src/libgame/gadgets.c index 4ac2a294..ba2081c6 100644 --- a/src/libgame/gadgets.c +++ b/src/libgame/gadgets.c @@ -383,7 +383,7 @@ static void DrawGadget(struct GadgetInfo *gi, boolean pressed, boolean direct) /* gadget text value */ #if 1 DrawTextBuffer(gi->x + border_x, gi->y + border_y, gi->textarea.value, - font_nr, gi->textarea.xsize, 0, -1, gi->textarea.ysize, + font_nr, gi->textarea.xsize, -1, gi->textarea.ysize, 0, BLIT_ON_BACKGROUND, FALSE, FALSE, FALSE); #else DrawTextToTextArea(gi->x + border_x, gi->y + border_y,