all repos — fluxbox @ 9c3ad19748f1b38e54fcf421c9703f9c4ebf9d7f

custom fork of the fluxbox windowmanager

added LC_TIME so the ClockTool gets the right locale
akir akir
commit

9c3ad19748f1b38e54fcf421c9703f9c4ebf9d7f

parent

26decf66e8c5d45177f871bb72ed64211bb9ae32

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/FbTk/I18n.ccsrc/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;