[gnote] Fix undo with multibyte characters



commit 8ac3076a1d69c4dc8897e1a962829ceacf27c4ab
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sun Feb 13 18:37:26 2011 +0200

    Fix undo with multibyte characters
    
    Previously during undo as many characters were removed as there were bytes to remove.
    Fixes Bug 641545.

 src/utils.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.hpp b/src/utils.hpp
index 62040e2..e4207c4 100644
--- a/src/utils.hpp
+++ b/src/utils.hpp
@@ -144,7 +144,7 @@ namespace gnote {
         {
           return m_buffer;
         }
-      const std::string text() const
+      const Glib::ustring text() const
         {
           return start().get_text(end());
         }



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