summaryrefslogtreecommitdiff
path: root/ext/ncurses/ncurses_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ncurses/ncurses_functions.c')
-rw-r--r--ext/ncurses/ncurses_functions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c
index d0cb3825a..db71779dd 100644
--- a/ext/ncurses/ncurses_functions.c
+++ b/ext/ncurses/ncurses_functions.c
@@ -2373,6 +2373,7 @@ PHP_FUNCTION(ncurses_panel_above)
FETCH_PANEL(panel, &phandle);
above = panel_above(*panel);
} else {
+ IS_NCURSES_INITIALIZED();
above = panel_above((PANEL *)0);
}