Skip to content

Commit

Permalink
Simplify the meson is_dir check
Browse files Browse the repository at this point in the history
  • Loading branch information
turbobastii committed Oct 2, 2022
1 parent 0cd8ffe commit 9d0ea05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ foreach directory_entry : directories
directory_context = directory_entry[1]
foreach size: sizes
dir_exists = fs.is_dir(join_paths(meson.source_root (), directory, size))
if (dir_exists == true)
if dir_exists
foreach scale_factor : scale_factors
# The Scale=1 attribute is useless, don't add it
if (scale_factor.to_int() > 1)
Expand Down

0 comments on commit 9d0ea05

Please sign in to comment.