aboutsummaryrefslogtreecommitdiffstats
path: root/drv_Curses.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-07 09:06:25 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-07 09:06:25 +0000
commit940f0517d1272e195e7b14be567b9002811f6146 (patch)
treefdd1939c5cede084ae049b609076bb8971fbc896 /drv_Curses.c
parent454ea5c893f90f232d33e0bc50fc8d0b1617678b (diff)
downloadlcd4linux-940f0517d1272e195e7b14be567b9002811f6146.tar.gz
[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
Diffstat (limited to 'drv_Curses.c')
-rw-r--r--drv_Curses.c9
1 files changed, 6 insertions, 3 deletions
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 */