aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <>2004-05-29 23:30:20 +0000
committerreinelt <>2004-05-29 23:30:20 +0000
commit72d04d53a54fd163db3e8b7d23bced7346f89781 (patch)
treeadfb47b034644e62a8981d3b1420b7454eb23b8b
parentd7fd204c704a9926c34919c5e9110739c550fb32 (diff)
downloadlcd4linux-72d04d53a54fd163db3e8b7d23bced7346f89781.tar.gz
[lcd4linux @ 2004-05-29 23:30:20 by reinelt]
fixed a compiler issue with drv_Image.c (thanks to Frank Stratmann)
Diffstat (limited to '')
-rw-r--r--drv_Image.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/drv_Image.c b/drv_Image.c
index 43f4192..8b6246a 100644
--- a/drv_Image.c
+++ b/drv_Image.c
@@ -1,4 +1,4 @@
-/* $Id: drv_Image.c,v 1.1 2004/05/25 14:27:21 reinelt Exp $
+/* $Id: drv_Image.c,v 1.2 2004/05/29 23:30:20 reinelt Exp $
*
* new style Image (PPM/PNG) Driver for LCD4Linux
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_Image.c,v $
+ * Revision 1.2 2004/05/29 23:30:20 reinelt
+ *
+ * fixed a compiler issue with drv_Image.c (thanks to Frank Stratmann)
+ *
* Revision 1.1 2004/05/25 14:27:21 reinelt
*
* added drv_Image.c (this time really!)
@@ -267,12 +271,16 @@ static int drv_IMG_flush_PNG (void)
static void drv_IMG_flush (void)
{
switch (Format) {
+#ifdef WITH_PPM
case PPM:
drv_IMG_flush_PPM();
break;
+#endif
+#ifdef WITH_PNG
case PNG:
drv_IMG_flush_PNG();
break;
+#endif
}
}