[gnote] Fix a typo causing 4 soft line-breaks to insert instead of 1.



commit 93c499d53324fc9d48d23b3bed8115bc20a1555a
Author: Hubert Figuiere <hub figuiere net>
Date:   Mon Jul 6 01:00:38 2009 -0400

    Fix a typo causing 4 soft line-breaks to insert instead of 1.

 src/notebuffer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/notebuffer.cpp b/src/notebuffer.cpp
index 8d1f7c3..3269519 100644
--- a/src/notebuffer.cpp
+++ b/src/notebuffer.cpp
@@ -326,7 +326,7 @@ namespace gnote {
     // to have multiple lines in a single bullet point
     if (prev_depth && soft_break) {
       bool at_end_of_line = insert_iter.ends_line();
-      insert_iter = insert(insert_iter, Glib::ustring(4, (gunichar)0x2028));
+      insert_iter = insert(insert_iter, Glib::ustring(1, (gunichar)0x2028));
         
       // Hack so that the user sees that what they type
       // next will appear on a new line, otherwise the



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]