diff options
author | Andrés <andmarti@gmail.com> | 2021-12-01 09:21:18 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-12-01 09:21:18 -0300 |
commit | ef1dfed05b1f9e0267c1eb7d8aa379425dc89cdc (patch) | |
tree | d15186ea1cdea86ccaff4bd4dc668634eb673b50 | |
parent | 004bfa9477f11949ea7b19f99e57e699a133ed14 (diff) |
work on issue 635
-rw-r--r-- | src/lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -241,8 +241,8 @@ static int l_colrow2a(lua_State *L) { int c, r; char buf[16]; - r = lua_tointeger(L, 1); /* get argument */ - c = lua_tointeger(L, 2); + r = lua_tointeger(L, 2); /* get argument */ + c = lua_tointeger(L, 1); sprintf(buf,"%s%d", coltoa(c),r); lua_pushstring(L,buf); return 1; |