diff --git a/form/frm_driver.c b/form/frm_driver.c index eebde42..cc81c2b 100644 --- a/form/frm_driver.c +++ b/form/frm_driver.c @@ -979,7 +979,7 @@ Perform_Justification(FIELD *field, WINDOW *win) int len; int col = 0; - bp = Get_Start_Of_Data(field->buf, Buffer_Length(field)); + bp = field->buf; len = (int)(After_End_Of_Data(field->buf, Buffer_Length(field)) - bp); if (len > 0) @@ -1023,7 +1024,7 @@ Undo_Justification(FIELD *field, WINDOW *win) FIELD_CELL *bp; int len; - bp = Get_Start_Of_Data(field->buf, Buffer_Length(field)); + bp = field->buf; len = (int)(After_End_Of_Data(field->buf, Buffer_Length(field)) - bp); if (len > 0)