summaryrefslogtreecommitdiff
path: root/tools/showpic/showpic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/showpic/showpic.c')
-rw-r--r--tools/showpic/showpic.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/showpic/showpic.c b/tools/showpic/showpic.c
index f17f361..53e5c0e 100644
--- a/tools/showpic/showpic.c
+++ b/tools/showpic/showpic.c
@@ -9,7 +9,9 @@
* This file is released under the GNU General Public License. Refer
* to the COPYING file distributed with this package.
*
- * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ * (c) 2004-2010 Andreas Regel <andreas.regel AT powarman.de>
+ * (c) 2010-2011 Wolfgang Astleitner <mrwastl AT users sourceforge net>
+ * Andreas 'randy' Weinberger
*/
#include <stdio.h>
@@ -227,7 +229,8 @@ int main(int argc, char *argv[])
while ((bitmap = image.GetBitmap()) != NULL && !stopProgramm)
{
- lcd->SetScreen(bitmap->Data(), bitmap->Width(), bitmap->Height(), bitmap->LineSize());
+// lcd->SetScreen(bitmap->Data(), bitmap->Width(), bitmap->Height(), bitmap->LineSize());
+ lcd->SetScreen(bitmap->Data(), bitmap->Width(), bitmap->Height());
lcd->Refresh(true);
if (image.Next(0)) // Select next image