img: Consider PLT section name for title
commit7389e3e94ace15dd51a4c2a986e4bfb32c9cd024
authorOlly Betts <olly@survex.com>
Mon, 12 Feb 2024 18:06:04 +0000 (13 07:06 +1300)
committerOlly Betts <olly@survex.com>
Wed, 14 Feb 2024 01:04:37 +0000 (14 14:04 +1300)
tree98d1edd5e50c348060b642936b097ee2193e411b
parent422b0ac902014c7f640bdbfa72f9528bb785a81d
img: Consider PLT section name for title

For Compass PLT files, if there's only one non-empty section name
in the file and we aren't filtering by survey, report that section
name as the title.  If there are multiple different non-empty
section names, we still report the basename of the file.
src/img.c
tests/Makefile.am
tests/dump3d.tst
tests/multisection.dump [new file with mode: 0644]
tests/multisection.plt [new file with mode: 0644]
tests/multisurvey.dump [new file with mode: 0644]
tests/multisurvey.plt [new file with mode: 0644]
tests/pre1970.dump