From 6194240c0a25b2618f524ac9af2e37b96ca67883 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 1 Jul 2016 09:41:17 -0400 Subject: Fixed compile error introduced in the terminal version; src/textadept.c --- src/textadept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index 4bf224cc..a1ee9e5c 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -2114,7 +2114,7 @@ static int lview_property(lua_State *L) { #elif CURSES Pane *p = pane_get_parent(pane, view); if (!newindex) - p ? lua_pushinteger(L, parent->split_size) : lua_pushnil(L); + p ? lua_pushinteger(L, p->split_size) : lua_pushnil(L); else if (p) p->split_size = size, pane_resize(p, p->rows, p->cols, p->y, p->x); #endif -- cgit v1.2.3