summaryrefslogtreecommitdiffstats
path: root/src/lua.c
diff options
context:
space:
mode:
authormongo <andmarti@gmail.com>2017-04-05 10:41:32 -0300
committermongo <andmarti@gmail.com>2017-04-05 10:41:32 -0300
commit5b1baaddf351a5d4c24789f109cf5bfa17d62586 (patch)
tree42013d37458c7796f188bca16efe0c10441a0bcd /src/lua.c
parent90cfe76112a21eb112cf87b5a5f010192d6de385 (diff)
more cleaning
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lua.c b/src/lua.c
index a2a488e..88b0d65 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -69,7 +69,7 @@ void bail(lua_State *L, char * msg){
set_term(sstdout);
clearok(stdscr, TRUE);
- show_header(input_win);
+ ui_show_header();
refresh();
update(TRUE);
}
@@ -130,21 +130,21 @@ static int l_setstr (lua_State *L) {
static int l_getstr (lua_State *L) {
int r,c;
-
+
//struct ent ** pp;
struct ent *p;
c = lua_tointeger(L, 1); /* get argument */
r = lua_tointeger(L, 2);
-
+
//sc_debug("setstr !!");
p=lookat(r,c);
if(p == 0) return 0;
if(p->label !=0) {
- lua_pushstring(L,p->label);
- return 1;
+ lua_pushstring(L,p->label);
+ return 1;
}
-
+
return 0;
}