summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form/frm_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/form/frm_post.c')
-rw-r--r--Source/CursesDialog/form/frm_post.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/CursesDialog/form/frm_post.c b/Source/CursesDialog/form/frm_post.c
index 3c63de7..924fe6a 100644
--- a/Source/CursesDialog/form/frm_post.c
+++ b/Source/CursesDialog/form/frm_post.c
@@ -63,12 +63,7 @@ int post_form(FORM * form)
RETURN(E_NOT_CONNECTED);
formwin = Get_Form_Window(form);
-#if defined(__LSB_VERSION__)
getmaxyx(formwin, height, width);
-#else
- width = getmaxx(formwin);
- height = getmaxy(formwin);
-#endif
if ((form->cols > width) || (form->rows > height))
RETURN(E_NO_ROOM);