Browse Source

Fixed a crash inside ncurses_panel_above() when called prior to

ncurses_init()
experimental/5.2-WITH_DRCP
Ilia Alshanetsky 19 years ago
parent
commit
20b5c66e14
  1. 1
      ext/ncurses/ncurses_functions.c

1
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);
}

Loading…
Cancel
Save