From bbf095ddb5d87daa9b03adf5d7f12726120fecae Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Fri, 28 May 2010 13:21:14 +0000 Subject: [PATCH] Final fix of issue 3935, coding problem in Windows. svn: r15493 --- src/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.py b/src/Utils.py index 68b32c0e1..789dcb6a0 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -1366,10 +1366,10 @@ def navigation_label(db, nav_type, handle): obj = db.get_note_from_handle(handle) if obj: label = obj.get() - label = " ".join(label.split()) # When strings are cut, make sure they are unicode #otherwise you may end of with cutting within an utf-8 sequence label = unicode(label) + label = " ".join(label.split()) if len(label) > 40: label = label[:40] + "..."