Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons for Reparse Points #304

Merged
merged 3 commits into from
Mar 2, 2022

Conversation

schinagl
Copy link
Contributor

@schinagl schinagl commented Feb 15, 2022

Reparse Points like Junctions, Symbolic links to directories and Symbolic links for not associated files show a little arrow on the folder/item.
image

This one solves #269

if (dwAttrs & ATTR_REPARSE_POINT)
iBitmap = BM_IND_CLOSEREPARSE;
else
iBitmap = BM_IND_CLOSE;
else if (dwAttrs & (ATTR_HIDDEN | ATTR_SYSTEM))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add { } brackets around the new if/else.

src/treectl.c Outdated
if (pNode->dwAttribs & ATTR_REPARSE_POINT)
iBitmap = BM_IND_OPENREPARSE;
else
iBitmap = BM_IND_OPEN;
else
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add {} around the new if/else.

src/treectl.c Outdated
if (pNode->dwAttribs & ATTR_REPARSE_POINT)
iBitmap = BM_IND_OPENREPARSE;
else
iBitmap = BM_IND_OPEN;
else
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add {} around the new if/else.

@craigwi craigwi merged commit 5085139 into microsoft:master Mar 2, 2022
@schinagl schinagl deleted the icons_for_reparse_points branch March 2, 2022 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants