- Implement __lconv_init
authorDmitry Chapyshev <dmitry@reactos.org>
Wed, 17 Dec 2008 10:24:13 +0000 (10:24 +0000)
committerDmitry Chapyshev <dmitry@reactos.org>
Wed, 17 Dec 2008 10:24:13 +0000 (10:24 +0000)
svn path=/trunk/; revision=38143

reactos/lib/sdk/crt/locale/locale.c

index e20d439..d3425e1 100644 (file)
@@ -802,7 +802,15 @@ void *_Gettnames(void)
  */
 void __lconv_init(void)
 {
-  FIXME(" stub\n");
+  char Char = (char) UCHAR_MAX;
+
+  TRACE("__lconv_init()\n");
+
+  _lconv.int_frac_digits = Char;
+  _lconv.frac_digits = Char;
+  _lconv.p_sep_by_space = _lconv.n_sep_by_space = Char;
+  _lconv.p_cs_precedes = _lconv.n_cs_precedes = Char;
+  _lconv.p_sign_posn = _lconv.n_sign_posn = Char;
 }