--------------------------------------------------------------------------- | Facility : libnform | Function : static void Synchronize_Buffer(FORM * form) | | Description : If there was a change, copy the content of the | window into the buffer, so the buffer is synchronized | with the windows content. We have to indicate that the |
| 422 | | buffer needs validation due to the change. |
| 423 | | |
| 424 | | Return Values : - |
| 425 | +--------------------------------------------------------------------------*/ |
| 426 | INLINE static void Synchronize_Buffer(FORM * form) |
| 427 | { |
| 428 | if (form->status & _WINDOW_MODIFIED) |
| 429 | { |
| 430 | form->status &= ~_WINDOW_MODIFIED; |
| 431 | form->status |= _FCHECK_REQUIRED; |
| 432 | Window_To_Buffer(form->w,form->current); |
| 433 | wmove(form->w,form->currow,form->curcol); |
| 434 | } |
| 435 | } |
| 436 |
no test coverage detected
searching dependent graphs…