Update of /cvsroot/easycalc/easycalc
In directory sc8-pr-cvs17:/tmp/cvs-serv6241
Modified Files:
clie.c
Log Message:
Fix bug in clie_cliprectangle for Palm hires.
Index: clie.c
===================================================================
RCS file: /cvsroot/easycalc/easycalc/clie.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** clie.c 12 Sep 2006 19:40:55 -0000 1.7
--- clie.c 29 Jul 2007 01:28:37 -0000 1.8
***************
*** 192,195 ****
--- 192,197 ----
void clie_cliprectangle(RectangleType *rP)
{
+ UInt16 save;
+
#ifdef SONY_SDK
if(gHrMode == hrSony)
***************
*** 197,200 ****
--- 199,208 ----
else
#endif
+ if (gHrMode == hrPalm) {
+ save = WinSetCoordinateSystem(kCoordinatesNative);
+ WinClipRectangle(rP);
+ WinSetCoordinateSystem(save);
+ }
+ else
WinClipRectangle(rP);
}
|