]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2004-05-29 23:30:20 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 29 May 2004 23:30:20 +0000 (23:30 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sat, 29 May 2004 23:30:20 +0000 (23:30 +0000)
fixed a compiler issue with drv_Image.c (thanks to Frank Stratmann)

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@446 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_Image.c

index 43f41925296edb665c0f5345b15ff325194e4e34..8b6246af88b2f68e6596d9f5d3085859cee46b24 100644 (file)
@@ -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 
  *
  *
  *
  * $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
   }
 }