aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
authorreinelt <>2003-09-10 03:48:23 +0000
committerreinelt <>2003-09-10 03:48:23 +0000
commit5f008ad8827a4f00f11e4ec79c211b15b6af7c75 (patch)
tree8f61bced69808fea15902d45c7fe35f3625c1d9a /display.c
parent180ab0b55a1cafe94cd17015402490821c448290 (diff)
downloadlcd4linux-5f008ad8827a4f00f11e4ec79c211b15b6af7c75.tar.gz
[lcd4linux @ 2003-09-10 03:48:22 by reinelt]
Icons for M50530, new processing scheme (Ticks.Text...)
Diffstat (limited to 'display.c')
-rw-r--r--display.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/display.c b/display.c
index ecc58a5..11b5530 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.41 2003/09/09 05:30:34 reinelt Exp $
+/* $Id: display.c,v 1.42 2003/09/10 03:48:23 reinelt Exp $
*
* framework for device drivers
*
@@ -20,6 +20,9 @@
*
*
* $Log: display.c,v $
+ * Revision 1.42 2003/09/10 03:48:23 reinelt
+ * Icons for M50530, new processing scheme (Ticks.Text...)
+ *
* Revision 1.41 2003/09/09 05:30:34 reinelt
* even more icons stuff
*
@@ -382,9 +385,8 @@ int lcd_icon (int num, int seq, int row, int col)
{
if (Lcd->icon==NULL) return 0;
if (num<1 || num>Lcd->icons) return -1;
- if (seq<1) return -1;
- if (row<1 || row>Lcd->rows) return -1;
- if (col<1 || col>Lcd->cols) return -1;
+ if ( row>Lcd->rows) return -1;
+ if ( col>Lcd->cols) return -1;
return Lcd->icon(num-1, seq-1, row-1, col-1);
}