xkbcomp: simplify the include path handling
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 27 Jul 2020 01:55:32 +0000 (11:55 +1000)
committerRan Benita <ran@unusedvar.com>
Sun, 30 Aug 2020 18:49:41 +0000 (21:49 +0300)
commitbbc7005b2a6509e0723b57f54718ca4a3dc7b99b
tree0a6eb5d5bf215b159d370d06215f3a77f994680b
parent351b4b9c0bd8844ff9d408be2adee2b4b095fb06
xkbcomp: simplify the include path handling

Streamline the code a bit - instead of handling all the if (!file) conditions
handle the case of where we have a file and jump to the end.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/xkbcomp/include.c