]> git.lyx.org Git - lyx.git/blobdiff - src/messages.C
Fix bug 2485 and crash on middle mouse paste on math
[lyx.git] / src / messages.C
index 989bb9a0d0c5b84bd0b48d0948d2105cbe455be9..6afef3c0d94ca9ec1b52157ab9ba42ab2485add3 100644 (file)
@@ -97,7 +97,7 @@ public:
                string::size_type i = lang_.find(".");
                lang_ = lang_.substr(0, i);
                lyxerr[Debug::DEBUG] << BOOST_CURRENT_FUNCTION
-                                     << ": language(" << lang_ << ")" << std::endl;
+                                    << ": language(" << lang_ << ")" << std::endl;
        }
 
        ~Pimpl() {}
@@ -117,7 +117,7 @@ public:
                                        lang = "C";
                        }
                }
-               
+
                char const * lc_msgs = setlocale(LC_MESSAGES, lang_.c_str());
                // setlocale fails (returns NULL) if the corresponding locale
                // is not installed.
@@ -141,11 +141,11 @@ public:
                int e = errno;
                if (e) {
                        lyxerr[Debug::DEBUG]
-                                << BOOST_CURRENT_FUNCTION << '\n'
-                                << "Error code: " << errno << '\n'
-                                << "Lang, mess: " << lang_ << " " << m << '\n'
-                                << "Directory : " << package().locale_dir() << '\n'
-                                << "Rtn value : " << c << std::endl;
+                               << BOOST_CURRENT_FUNCTION << '\n'
+                               << "Error code: " << errno << '\n'
+                               << "Lang, mess: " << lang_ << " " << m << '\n'
+                               << "Directory : " << package().locale_dir() << '\n'
+                               << "Rtn value : " << c << std::endl;
                }
                textdomain(PACKAGE);
                const char* msg = gettext(m.c_str());