diff options
author | Canop <cano.petrole@gmail.com> | 2020-12-14 08:44:22 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-12-14 09:54:22 +0100 |
commit | 72a1cb1d31de4257fe5cb71646c4c059753ae7f4 (patch) | |
tree | aebfc2239a7d083655717e837a2a0b42d9546384 /src/display | |
parent | 1480427fefc1f96c7b6c8aace861024d7da753a3 (diff) | |
parent | 0e350e5939e87dd1e822c2859a150a90ce4c6deb (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/display')
-rw-r--r-- | src/display/displayable_tree.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/display/displayable_tree.rs b/src/display/displayable_tree.rs index 09c54d9..cf576f6 100644 --- a/src/display/displayable_tree.rs +++ b/src/display/displayable_tree.rs @@ -448,8 +448,11 @@ impl<'s, 't> DisplayableTree<'s, 't> { self.write_branch(cw, line_index, line, selected)? } - #[cfg(not(any(target_family = "windows", target_os = "android")))] Col::Permission => { + #[cfg(any(target_family = "windows", target_os = "android"))] + { 0 } + + #[cfg(not(any(target_family = "windows", target_os = "android")))] perm_writer.write_permissions(cw, line, selected)? } |