aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <>2003-04-12 16:23:10 +0000
committerreinelt <>2003-04-12 16:23:10 +0000
commit4f049117fe67074e0aada84c214449fdb6c6e36a (patch)
treec516507a49f6d808e57055b604a1ed742a88296f
parent72fd720c2d1a819d454771f99e86d852416e568e (diff)
downloadlcd4linux-4f049117fe67074e0aada84c214449fdb6c6e36a.tar.gz
[lcd4linux @ 2003-04-12 16:23:10 by reinelt]
small glitch in XWindow.c (thanks to Moe Wibble)
-rw-r--r--XWindow.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/XWindow.c b/XWindow.c
index 96bdacd..0e77c07 100644
--- a/XWindow.c
+++ b/XWindow.c
@@ -1,4 +1,4 @@
-/* $Id: XWindow.c,v 1.30 2003/02/22 07:53:10 reinelt Exp $
+/* $Id: XWindow.c,v 1.31 2003/04/12 16:23:10 reinelt Exp $
*
* X11 Driver for LCD4Linux
*
@@ -20,6 +20,9 @@
*
*
* $Log: XWindow.c,v $
+ * Revision 1.31 2003/04/12 16:23:10 reinelt
+ * small glitch in XWindow.c (thanks to Moe Wibble)
+ *
* Revision 1.30 2003/02/22 07:53:10 reinelt
* cfg_get(key,defval)
*
@@ -515,8 +518,9 @@ static void update(int x,int y,int width,int height)
if (y<y0 || y>y1) continue;
for(col=0;col<cols*xres;col++) {
int x=border+(col/xres)*cgap+col*(pixel+pgap);
+ int p;
if (x<x0 || x>x1) continue;
- int p=row*cols*xres+col;
+ p=row*cols*xres+col;
XFillRectangle(dp,w,LCDpixmap2[p]?gc:gch,x,y,pixel,pixel);
dirty=1;
}
/?h=debian/0%2bgit20140611.14bd6c7-1'>debian/0+git20140611.14bd6c7-1Jonathan McCrohan1-2/+2 2014-07-23New Upstream Snapshot (commit 14bd6c7)Jonathan McCrohan1-2/+3 2014-07-23Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60 2014-05-13New Upstream Snapshot (commit 1246b27)Jonathan McCrohan1-0/+6 2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Release 0+git20140326.cfc2975-1debian/0+git20140326.cfc2975-1Jonathan McCrohan1-2/+2 2014-04-05d/control: update Homepage (upstream has moved from Gitweb to cgit)Jonathan McCrohan2-1/+2 2014-04-05New Upstream Snapshot (commit cfc2975)Jonathan McCrohan1-0/+6 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877 2014-01-16Release 0+git20140107.1850cf8-1debian/0+git20140107.1850cf8-1Jonathan McCrohan1-2/+2 2014-01-16Update Standards Version to 3.9.5Jonathan McCrohan2-1/+9 No changes required