projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490deb9
)
elua lib: use -1 for default values in localeconv
author
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Thu, 30 Apr 2015 12:35:11 +0000
(13:35 +0100)
committer
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Wed, 6 May 2015 14:05:23 +0000
(15:05 +0100)
src/lib/elua/elua.c
patch
|
blob
|
history
diff --git
a/src/lib/elua/elua.c
b/src/lib/elua/elua.c
index
ed5a4e3
..
3d34b1f
100644
(file)
--- a/
src/lib/elua/elua.c
+++ b/
src/lib/elua/elua.c
@@
-288,7
+288,7
@@
_elua_get_localeconv(lua_State *L)
lua_setfield(L, -2, #name);
#define ELUA_LCF_C(name) \
- lua_pushinteger(L, (int)lc->name); \
+ lua_pushinteger(L, (
lc->name == CHAR_MAX) ? -1 : (
int)lc->name); \
lua_setfield(L, -2, #name);
ELUA_LCF_S(decimal_point);