diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-09-07 09:06:25 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-09-07 09:06:25 +0000 |
commit | 940f0517d1272e195e7b14be567b9002811f6146 (patch) | |
tree | fdd1939c5cede084ae049b609076bb8971fbc896 /widget_image.c | |
parent | 454ea5c893f90f232d33e0bc50fc8d0b1617678b (diff) | |
download | lcd4linux-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 'widget_image.c')
-rw-r--r-- | widget_image.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/widget_image.c b/widget_image.c index b9d37e7..17d73de 100644 --- a/widget_image.c +++ b/widget_image.c @@ -1,4 +1,4 @@ -/* $Id: widget_image.c,v 1.9 2006/06/21 05:12:43 reinelt Exp $ +/* $Id: widget_image.c,v 1.10 2006/09/07 09:06:25 reinelt Exp $ * * image widget handling * @@ -21,6 +21,9 @@ * * * $Log: widget_image.c,v $ + * Revision 1.10 2006/09/07 09:06:25 reinelt + * lots of wrong printf formats corrected (thanks to Ernst Bachmann) + * * Revision 1.9 2006/06/21 05:12:43 reinelt * added checks for libgd version 2 (thanks to Sam) * @@ -148,7 +151,7 @@ static void widget_image_render(const char *Name, WIDGET_IMAGE * Image) int i = Image->width * Image->height * sizeof(Image->bitmap[0]); Image->bitmap = malloc(i); if (Image->bitmap == NULL) { - error("Warning: Image %s: malloc(%d) failed!", Name, i, strerror(errno)); + error("Warning: Image %s: malloc(%d) failed: %s", Name, i, strerror(errno)); return; } for (i = 0; i < Image->height * Image->width; i++) { |