Always allow user filetype extensions to override system config file
commit41122c07bca2a45cd3750311398d42da404c85fa
authorNick Treleaven <n@trelsoft.com>
Thu, 16 May 2019 15:01:53 +0000 (16 16:01 +0100)
committerNick Treleaven <n@trelsoft.com>
Sat, 18 May 2019 12:51:55 +0000 (18 13:51 +0100)
tree378a7baf178f06cfc545e07514e5a54257cfd7ab
parent0082fb2a99b306a7d7b995cd6ca3d087c3bca7cd
Always allow user filetype extensions to override system config file

Before the user would sometimes have to override 'UnwantedFiletype=' in
the user config file to remove an extension written in the system file.
Geany would ignore an overridden filetype in the user config file that
also matches the extension. This happened when the wanted filetype had a
higher index than the unwanted one in filetypes_array.
src/filetypes.c
src/filetypesprivate.h