diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-04-20 18:52:03 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-04-20 16:41:02 -0400 |
commit | 20762ecb3c34493a6de637d37234d738467f69a9 (patch) | |
tree | 28b92fbcf8f9a24ecd76cb61aeae059973a68e3c /sway/commands/mark.c | |
parent | 9099adbbe6fffcd7510b31efc8e547da7fa24f65 (diff) |
Validate icon_struct in read_theme_file
The read_theme_file function used to return an invalid icon_struct in
some cases, for example when an empty index.theme file was read.
This makes sure the struct we're returning is always valid as per the
Icon Theme specification.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'sway/commands/mark.c')
0 files changed, 0 insertions, 0 deletions