[gnote] Fix note deletion with international characters



commit fcf9607975763dcee1e82335371c861ee22b0f96
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sun Dec 11 15:59:49 2011 +0200

    Fix note deletion with international characters
    
    When locale is en_US, notes with non-english characters in titles
    can not be deleted.

 src/utils.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils.cpp b/src/utils.cpp
index b56515f..a4b273f 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -325,7 +325,7 @@ namespace gnote {
       hbox->pack_start(*label_vbox, true, true, 0);
 
       std::string title = str(boost::format("<span weight='bold' size='larger'>%1%"
-                                            "</span>\n") % header);
+                                            "</span>\n") % header.c_str());
 
       Gtk::Label *label;
 



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