Ensure that setlocale (LC_MESSAGES is called when appropriate.
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 14 Apr 2009 02:03:52 +0000 (10:03 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 14 Apr 2009 02:03:52 +0000 (10:03 +0800)
commit5d31af536467b5774fb04ebc998ef459e893f24c
treeb776abded990534b37ed4e3172c91ef7df166d52
parent15d25f33d8af81f11ac05379ae267f85da2b3077
Ensure that setlocale (LC_MESSAGES is called when appropriate.

The wrong preprocessor macro was being tested before calling
setlocale (LC_MESSAGES, "") which resulted in translations not
being loaded.
src/libpspp/i18n.c