aboutsummaryrefslogtreecommitdiffstats
path: root/drv_Image.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-19 08:20:19 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-19 08:20:19 +0000
commite4626159694ea6774386faa2f0d2fb517de1eb8b (patch)
treea517ef9207efcc3af7b65b1f98566ebce3e7336c /drv_Image.c
parent0901696b219cd8d65b368b45712cb22b5b0b7138 (diff)
downloadlcd4linux-e4626159694ea6774386faa2f0d2fb517de1eb8b.tar.gz
[lcd4linux @ 2004-06-19 08:20:19 by reinelt]
compiler warning in image driver fixed bar bug in USBLCD driver fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@475 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_Image.c')
-rw-r--r--drv_Image.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/drv_Image.c b/drv_Image.c
index c17e6ef..3d5b086 100644
--- a/drv_Image.c
+++ b/drv_Image.c
@@ -1,4 +1,4 @@
-/* $Id: drv_Image.c,v 1.5 2004/06/06 06:51:59 reinelt Exp $
+/* $Id: drv_Image.c,v 1.6 2004/06/19 08:20:19 reinelt Exp $
*
* new style Image (PPM/PNG) Driver for LCD4Linux
*
@@ -23,6 +23,11 @@
*
*
* $Log: drv_Image.c,v $
+ * Revision 1.6 2004/06/19 08:20:19 reinelt
+ *
+ * compiler warning in image driver fixed
+ * bar bug in USBLCD driver fixed
+ *
* Revision 1.5 2004/06/06 06:51:59 reinelt
*
* do not display end splash screen if quiet=1
@@ -301,16 +306,16 @@ static int drv_IMG_flush_PNG (void)
static void drv_IMG_flush (void)
{
switch (Format) {
-#ifdef WITH_PPM
case PPM:
+#ifdef WITH_PPM
drv_IMG_flush_PPM();
- break;
#endif
-#ifdef WITH_PNG
+ break;
case PNG:
+#ifdef WITH_PNG
drv_IMG_flush_PNG();
- break;
#endif
+ break;
}
}