From 2431534f1061149bf7db7985dd137cd6324056a8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 26 Jan 1999 09:50:58 -0200 Subject: [PATCH] details --- lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua.c b/lua.c index 1ab0ac44..6deb6b99 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.16 1999/01/06 13:12:41 roberto Exp roberto $ +** $Id: lua.c,v 1.17 1999/01/08 16:47:44 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -133,8 +133,8 @@ int main (int argc, char *argv[]) int i; lua_open(); lua_pushstring("> "); lua_setglobal("_PROMPT"); - lua_userinit(); setlocale(LC_ALL, ""); + lua_userinit(); if (argc < 2) { /* no arguments? */ if (isatty(0)) { printf("%s %s\n", LUA_VERSION, LUA_COPYRIGHT);