Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv24546
Modified Files:
osd.py
Log Message:
handle empty strings in stringsize
Index: osd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/osd.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -d -r1.76 -r1.77
*** osd.py 5 Aug 2003 17:25:34 -0000 1.76
--- osd.py 5 Aug 2003 17:41:45 -0000 1.77
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.77 2003/08/05 17:41:45 dischi
+ # handle empty strings in stringsize
+ #
# Revision 1.76 2003/08/05 17:25:34 dischi
# better error handling for missing SDL_VIDEODRIVER
***************
*** 253,256 ****
--- 256,261 ----
def stringsize(self, s):
+ if not s:
+ return 0
w = 0
for c in s:
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog