MCPcopy Create free account
hub / github.com/Kitware/CMake / IFN_Next_Line

Function IFN_Next_Line

Source/CursesDialog/form/frm_driver.c:1308–1323  ·  view source on GitHub ↗

--------------------------------------------------------------------------- | Facility : libnform | Function : static int IFN_Next_Line(FORM * form) | | Description : Move to the beginning of the next line in the field | | Return Values : E_OK - success | E_REQUEST_DENIED - at the last line +-----------------------------------------

Source from the content-addressed store, hash-verified

1306| Description : Move to the beginning of the next line in the field
1307|
1308| Return Values : E_OK - success
1309| E_REQUEST_DENIED - at the last line
1310+--------------------------------------------------------------------------*/
1311static int IFN_Next_Line(FORM * form)
1312{
1313 FIELD *field = form->current;
1314
1315 if ((++(form->currow))==field->drows)
1316 {
1317#if GROW_IF_NAVIGATE
1318 if (!Single_Line_Field(field) && Field_Grown(field,1))
1319 return(E_OK);
1320#endif
1321 form->currow--;
1322 return(E_REQUEST_DENIED);
1323 }
1324 form->curcol = 0;
1325 return(E_OK);
1326}

Callers

nothing calls this directly

Calls 1

Field_GrownFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…