summaryrefslogtreecommitdiff
blob: fb661c819be2292cc2c71a89b4b68dfa5a98e474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
http://cvs.fedoraproject.org/viewvc/rpms/driconf/devel/

--- driconf_simpleui.py
+++ driconf_simpleui.py
@@ -266,8 +266,8 @@
                     j = i
                     break
                 i = i - 1
-            if i < chars/3:
-                i = chars
+            else:
+                i = j = chars
             head, tail = head + tail[:i] + '\n', tail[j:]
     return head