Use missing SVG from parent if -pid name starts with sub_
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 17 Apr 2016 08:05:39 +0000 (10:05 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 17 Apr 2016 08:26:32 +0000 (10:26 +0200)
commitcaebf04d588b07dd8691c65a9b5cc145829e69b9
tree68c28f3879e69cbf08bc5c9eef5d84365a0398d7
parent7f8decab1cc394f7a798b04fc0a3de4edf043877
Use missing SVG from parent if -pid name starts with sub_

If the current piece-image directory's name starts with "sub_", any
pieces not found in it will be searched in the parent directory.
This allows variants that need just a few pieces of a theme changed
to get their own sub_xxx sub-directory within the directory with SVG
images, containing the deviating SVGs. This will work recursively.
draw.c