Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv14511
Modified Files:
osd.py
Log Message:
Put try/catch in update() for updating rects in case the rect has a bad value for one
of its properties.
Index: osd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/osd.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** osd.py 23 Mar 2003 06:28:02 -0000 1.25
--- osd.py 24 Mar 2003 00:39:29 -0000 1.26
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.26 2003/03/24 00:39:29 rshortt
+ # Put try/catch in update() for updating rects in case the rect has a bad value for
one of its properties.
+ #
# Revision 1.25 2003/03/23 06:28:02 gsbarbieri
# Corrected drawstringframedhard() truncate.
***************
*** 1340,1344 ****
return None
if rect:
! pygame.display.update(rect)
else:
pygame.display.flip()
--- 1343,1350 ----
return None
if rect:
! try:
! pygame.display.update(rect)
! except:
! if DEBUG: print 'osd.update(rect) failed, bad rect?'
else:
pygame.display.flip()
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog