diff options
author | 2016-07-01 09:41:17 -0400 | |
---|---|---|
committer | 2016-07-01 09:41:17 -0400 | |
commit | 6194240c0a25b2618f524ac9af2e37b96ca67883 (patch) | |
tree | e60915d1ca948a5e2d4fffdfcc018761b139f294 /src | |
parent | bf9376f9b6a1c8ff4dd080903c569c0ab849b060 (diff) | |
download | textadept-6194240c0a25b2618f524ac9af2e37b96ca67883.tar.gz textadept-6194240c0a25b2618f524ac9af2e37b96ca67883.zip |
Fixed compile error introduced in the terminal version; src/textadept.c
Diffstat (limited to 'src')
-rw-r--r-- | src/textadept.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |