added LC_TIME so the ClockTool gets the right locale
akir akir
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/FbTk/I18n.cc
→
src/FbTk/I18n.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: I18n.cc,v 1.3 2004/08/31 15:26:39 rathnor Exp $ +// $Id: I18n.cc,v 1.4 2004/10/07 09:52:28 akir Exp $ /* Note: * A good reference for the older non-gettext style I18n@@ -88,6 +88,8 @@
#ifdef HAVE_SETLOCALE } else { + + setlocale(LC_TIME, ""); // MB_CUR_MAX returns the size of a char in the current locale if (MB_CUR_MAX > 1) m_multibyte = true;