The unified diff between revisions [83b5270b..] and [5587f68e..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'sanity.hh'

#
#
# patch "sanity.hh"
#  from [4b60e04581e65bb1426c17f8807b37ec0e7775d8]
#    to [2c8cee0f678668a356de29a5c61fb3eed8c87b74]
#
============================================================
--- sanity.hh	4b60e04581e65bb1426c17f8807b37ec0e7775d8
+++ sanity.hh	2c8cee0f678668a356de29a5c61fb3eed8c87b74
@@ -92,10 +92,10 @@ extern sanity global_sanity;
 extern sanity global_sanity;

 // F is for when you want to build a boost formatter for display
-#define F(str) boost::format(gettext(str), ui.user_locale)
+#define F(str) boost::format(gettext(str), get_user_locale())

 // FP is for when you want to build a boost formatter for displaying a plural
-#define FP(str1, strn, count) boost::format(ngettext(str1, strn, count), ui.user_locale)
+#define FP(str1, strn, count) boost::format(ngettext(str1, strn, count), get_user_locale())

 // L is for logging, you can log all you want
 #define L(fmt) global_sanity.log(fmt, __FILE__, __LINE__)