]> git.neil.brown.name Git - edlib.git/commit
lib-renderline: use DAMAGED_VIEW to record if the ->line is up-to-date
authorNeilBrown <neil@brown.name>
Wed, 30 Jun 2021 05:27:41 +0000 (15:27 +1000)
committerNeilBrown <neil@brown.name>
Wed, 30 Jun 2021 11:49:54 +0000 (21:49 +1000)
commit3625250d8170e1ccafa31290092aeaff3841628f
tree9179b3260ffc3183448f2a4a4e7d867b7c27b4fa
parent622adb7266bd15c9f45cfae9d6b5a407180f0641
lib-renderline: use DAMAGED_VIEW to record if the ->line is up-to-date

Rather than having a local flag and functions to access/update it,
use DAMAGED_VIEW to determine if the ->line needs to be updated.

This is the same functionality with a simpler interface.

Signed-off-by: NeilBrown <neil@brown.name>
lib-renderline.c
render-lines.c