Author: rshortt
Date: Wed Oct 17 13:56:51 2007
New Revision: 2876

Log:
Fix typos in set_font which wasn't working.


Modified:
   trunk/imlib2/src/image.py

Modified: trunk/imlib2/src/image.py
==============================================================================
--- trunk/imlib2/src/image.py   (original)
+++ trunk/imlib2/src/image.py   Wed Oct 17 13:56:51 2007
@@ -425,10 +425,10 @@
                  'font_or_fontname' is already a Font instance, it is simply
                  returned back to the caller.
         """
-        if type(font_or_fontname) in types.StringTypes:
-            self.font = Font(font_or_fontname)
+        if type(font_or_font_name) in types.StringTypes:
+            self.font = Font(font_or_font_name)
         else:
-            self.font = font_or_fontname
+            self.font = font_or_font_name
         return self.font
 
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to