[BACK]Return to patch-src_game_lua_loslib_c CVS log [TXT][DIR] Up to [local] / ports / games / ufoai / base / patches

Annotation of ports/games/ufoai/base/patches/patch-src_game_lua_loslib_c, Revision 1.1

1.1     ! yason       1:
        !             2: XXX: OpenBSD's locale support is very limited. This can probably
        !             3: be removed when support for LC_MESSAGES is added.
        !             4:
        !             5: $OpenBSD$
        !             6: --- src/game/lua/loslib.c.orig Tue May 17 12:20:40 2011
        !             7: +++ src/game/lua/loslib.c      Tue May 17 12:20:59 2011
        !             8: @@ -208,7 +208,7 @@ static int os_setlocale (lua_State *L) {
        !             9:       "numeric", "time", NULL};
        !            10:    const char *l = luaL_optstring(L, 1, NULL);
        !            11:    int op = luaL_checkoption(L, 2, "all", catnames);
        !            12: -  lua_pushstring(L, setlocale(cat[op], l));
        !            13: +  lua_pushstring(L, setlocale(cat[0], l));
        !            14:    return 1;
        !            15:  }
        !            16:

CVSweb