Author: Yu Chen <[email protected]>
Date:   Sun Apr  8 00:31:28 2012 +0800

Fix zoom factor issue in some non English locales

If apply string tolow op, translated "Fit" string can not be handled
properly by zoom widget. So we just remove that code.

---

 synfig-studio/src/gui/preview.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/src/gui/preview.cpp 
b/synfig-studio/src/gui/preview.cpp
index 2dd9941..634b395 100644
--- a/synfig-studio/src/gui/preview.cpp
+++ b/synfig-studio/src/gui/preview.cpp
@@ -628,7 +628,6 @@ bool studio::Widget_Preview::redraw(GdkEventExpose */*heh*/)
 
        Gtk::Entry* entry = zoom_preview.get_entry();
        String str(entry->get_text());
-       std::transform(str.begin(),str.end(),str.begin(),&tolower);
        Glib::ustring text = str;
        locale_from_utf8 (text);
        const char *c = text.c_str();


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to