projects
/
vrfileman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfbd584
)
foo
author
John Tsiombikas
<nuclear@mutantstargoat.com>
Mon, 1 Aug 2016 02:27:13 +0000
(
05:27
+0300)
committer
John Tsiombikas
<nuclear@mutantstargoat.com>
Mon, 1 Aug 2016 02:27:13 +0000
(
05:27
+0300)
src/fs.cc
patch
|
blob
|
history
diff --git
a/src/fs.cc
b/src/fs.cc
index
b65db45
..
d038546
100644
(file)
--- a/
src/fs.cc
+++ b/
src/fs.cc
@@
-71,6
+71,11
@@
void draw_fs()
for(int i=0; i<nchildren; i++) {
int idx = (i + first) % nchildren;
+
+ if(cur_node->children[idx]->type == FSTYPE_DIR) {
+ continue;
+ }
+
Vec3 pos = icon_pos(row, col, ncols, row_spacing, radius);
Mat4 xform = base_xform;