Update LC_NUMERIC value as previous value 95/194095/3
authorn1214.hwang <n1214.hwang@samsung.com>
Wed, 28 Nov 2018 09:12:37 +0000 (18:12 +0900)
committerHermet Park <chuneon.park@samsung.com>
Fri, 30 Nov 2018 04:16:04 +0000 (04:16 +0000)
Change-Id: Ib1148d5e3b2781c3e94ad690f1c8d52f8b1fbe4f

src/lib/ecore_wl2/ecore_wl2_input.c

index 1addd88..39f16e9 100644 (file)
@@ -177,9 +177,10 @@ _ecore_wl2_input_key_conversion_set(Ecore_Wl2_Input *input)
      }
    else
      {
+        char* lc_numeric = setlocale(LC_NUMERIC, NULL);
         setlocale(LC_NUMERIC, "C");
         _tizen_api_version = atof(temp);
-        setlocale(LC_NUMERIC, "");
+        setlocale(LC_NUMERIC, lc_numeric);
         INF("TIZEN_API_VERSION: %lf, Environment variable: %s\n", _tizen_api_version, temp);
         if (_tizen_api_version < 2.4)
           {