diff options
Diffstat (limited to 'Source/CursesDialog/form/frm_data.c')
-rw-r--r-- | Source/CursesDialog/form/frm_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/form/frm_data.c b/Source/CursesDialog/form/frm_data.c index a96b4f1..f7ba55d 100644 --- a/Source/CursesDialog/form/frm_data.c +++ b/Source/CursesDialog/form/frm_data.c @@ -116,7 +116,7 @@ bool data_ahead(const FORM *form) int pos; field = form->current; - assert(form->w); + assert(form->w != 0); large_buffer = (field->cols > SMALL_BUFFER_SIZE); if (large_buffer) @@ -124,7 +124,7 @@ bool data_ahead(const FORM *form) else bp = buffer; - assert(bp); + assert(bp != 0); if (Single_Line_Field(field)) { |