From 940f0517d1272e195e7b14be567b9002811f6146 Mon Sep 17 00:00:00 2001 From: reinelt Date: Thu, 7 Sep 2006 09:06:25 +0000 Subject: [lcd4linux @ 2006-09-07 09:06:25 by reinelt] lots of wrong printf formats corrected (thanks to Ernst Bachmann) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@708 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_Curses.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'drv_Curses.c') diff --git a/drv_Curses.c b/drv_Curses.c index 12590ae..2c47012 100644 --- a/drv_Curses.c +++ b/drv_Curses.c @@ -1,4 +1,4 @@ -/* $Id: drv_Curses.c,v 1.13 2006/07/19 01:48:11 cmay Exp $ +/* $Id: drv_Curses.c,v 1.14 2006/09/07 09:06:25 reinelt Exp $ * * pure ncurses based text driver * @@ -26,6 +26,9 @@ * * * $Log: drv_Curses.c,v $ + * Revision 1.14 2006/09/07 09:06:25 reinelt + * lots of wrong printf formats corrected (thanks to Ernst Bachmann) + * * Revision 1.13 2006/07/19 01:48:11 cmay * Ran indent.sh to make pretty code. * @@ -217,7 +220,7 @@ static int drv_Curs_start(const char *section, const int quiet) return -1; } if (sscanf(s, "%dx%d", &DCOLS, &DROWS) != 2 || DROWS < 1 || DCOLS < 1) { - error("%s: bad %s.Size '%s' from %s", Name, section, s, cfg_source); + error("%s: bad %s.Size '%s' from %s", Name, section, s, cfg_source()); free(s); return -1; } @@ -338,7 +341,7 @@ int drv_Curs_init(const char *section, const int quiet) WIDGET_CLASS wc; int ret; - info("%s: %s", Name, "$Revision: 1.13 $"); + info("%s: %s", Name, "$Revision: 1.14 $"); /* display preferences */ XRES = 1; /* pixel width of one char */ -- cgit v1.2.3