Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv12955

Modified Files:
        xml_skin.py 
Log Message:
use round not int after scaling

Index: xml_skin.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/xml_skin.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** xml_skin.py 24 Aug 2003 10:04:05 -0000      1.5
--- xml_skin.py 24 Aug 2003 11:01:59 -0000      1.6
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.6  2003/08/24 11:01:59  dischi
+ # use round not int after scaling
+ #
  # Revision 1.5  2003/08/24 10:04:05  dischi
  # added font_h as variable for y and height settings
***************
*** 95,99 ****
  
                  try:
!                     i = int(int(scale*int(val[:pos])))
                      if i < 0:
                          new_val += str(i)
--- 98,102 ----
  
                  try:
!                     i = int(round(scale*int(val[:pos])))
                      if i < 0:
                          new_val += str(i)




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to