From 525c17277ccccf4459be16018576b44e9e6a2a35 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 10 Sep 2003 03:48:23 +0000 Subject: [lcd4linux @ 2003-09-10 03:48:22 by reinelt] Icons for M50530, new processing scheme (Ticks.Text...) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@235 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- display.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'display.c') 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); } -- cgit v1.2.3