aboutsummaryrefslogtreecommitdiff
path: root/extract.c (follow)
Commit message (Collapse)AuthorAgeLines
* extract: finish: allocate buffer before writing the terminatorDaniel Eklöf2020-07-16-18/+19
| | | | | When all cells were empty, we'll have written 0 bytes to the buffer and hence it will still be un-allocated (i.e. NULL).
* extract: extract_one() sets a fail flag that extract_finish() readsDaniel Eklöf2020-07-15-7/+19
| | | | | | This allows us to safely call extract_finish() when extract_one() failed, and we'll get the expected result; false, indicating extract_finish() failed.
* extract: extract_one: make arguments constDaniel Eklöf2020-07-15-2/+2
|
* selection: refactor: break out text extraction to a separate fileDaniel Eklöf2020-07-15-0/+163