--- font.c 2003/10/01 23:23:01 1.4.2.3 +++ font.c 2005/11/22 10:23:01 1.7 @@ -19,7 +19,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: font.c,v 1.4.2.3 2003/10/01 23:23:01 edgomez Exp $ + * $Id: font.c,v 1.7 2005/11/22 10:23:01 suxen_drol Exp $ * ****************************************************************************/ @@ -561,7 +561,8 @@ #define FONT_ZOOM 4 -void draw_num(IMAGE * img, const int stride, const int height, +static void +draw_num(IMAGE * img, const int stride, const int height, const char * font, const int x, const int y) { int i, j; @@ -590,6 +591,7 @@ va_start(args, fmt); vsprintf(buf, fmt, args); + va_end(args); for (i = 0; i < buf[i]; i++) { const char * font;