Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-02-24 14:18:07 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-02-24 14:18:17 +0400
commit04ecf4d0db142c3ad052a7e67fe6c3accf9e7e9d (patch)
tree1ac2431259b56fa4aa3c3f30d430ec836933e74c /intern/locale
parente72775e34a461e82624aeaec0aff15703efbd987 (diff)
OSX: add debug mesg to bl_locale_pgettext for later indeep investigation
Diffstat (limited to 'intern/locale')
-rw-r--r--intern/locale/boost_locale_wrapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/locale/boost_locale_wrapper.cpp b/intern/locale/boost_locale_wrapper.cpp
index 4d429f4078d..00371fbd943 100644
--- a/intern/locale/boost_locale_wrapper.cpp
+++ b/intern/locale/boost_locale_wrapper.cpp
@@ -113,7 +113,8 @@ const char *bl_locale_pgettext(const char *msgctxt, const char *msgid)
return r;
return msgid;
}
- catch(std::bad_cast) { /* std::bad_cast if std::has_facet<Facet>(loc) == false */
+ catch(std::bad_cast const &e) { /* std::bad_cast if std::has_facet<Facet>(loc) == false */
+// std::cout << "bl_locale_pgettext(" << msgid << "): " << e.what() << " \n";
return msgid;
}
catch(std::exception const &) {