From b22be542d7f5a02fd176bb9d3f3cac0fd8478d4d Mon Sep 17 00:00:00 2001 From: Rolux Date: Fri, 17 Sep 2010 17:25:36 +0200 Subject: [PATCH] minus typos --- ox/image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ox/image.py b/ox/image.py index 601ea44..82260f0 100644 --- a/ox/image.py +++ b/ox/image.py @@ -99,11 +99,11 @@ def wrapText(text, max_width, max_lines, font_file, font_size): if max_lines: # test if the same number of lines # can be achieved with shorter lines - best_lines = len(wrap_text(text, max_width, 0, font_file, font_size)) + best_lines = len(wrapText(text, max_width, 0, font_file, font_size)) test_lines = best_lines while test_lines == best_lines: max_width -= 1 - test_lines = len(wrap_text(text, max_width, 0, font_file, font_size)) + test_lines = len(wrapText(text, max_width, 0, font_file, font_size)) max_width += 1 words = [] spaces = []