diff options
Diffstat (limited to 'payloads/libpayload/curses/form/frm_driver.c')
-rw-r--r-- | payloads/libpayload/curses/form/frm_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/curses/form/frm_driver.c b/payloads/libpayload/curses/form/frm_driver.c index e0892bf8d4..e058d198d7 100644 --- a/payloads/libpayload/curses/form/frm_driver.c +++ b/payloads/libpayload/curses/form/frm_driver.c @@ -200,7 +200,7 @@ static int FE_Delete_Previous(FORM *); /* Logic to determine whether or not we are on the first position in the current field */ #define First_Position_In_Current_Field(form) \ - (((form)->currow==0) && ((form)->curcol==0)) + (((form)->currow == 0) && ((form)->curcol == 0)) #define Minimum(a,b) (((a)<=(b)) ? (a) : (b)) #define Maximum(a,b) (((a)>=(b)) ? (a) : (b)) @@ -2586,7 +2586,7 @@ FE_New_Line(FORM *form) { if (Last_Row && !Field_Grown(field, 1)) { - /* N.B.: due to the logic in the 'if', LastRow==TRUE + /* N.B.: due to the logic in the 'if', LastRow == TRUE means here that the field is growable and not a single-line field */ returnCode(E_SYSTEM_ERROR); |