Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Edit the pathInfos array in-place instead of creating a new one.#1652

Merged
BartoszCichecki merged 1 commit intoBartoszCichecki:masterfrom
shockdude:pathInfoInPlace
May 18, 2025
Merged

Edit the pathInfos array in-place instead of creating a new one.#1652
BartoszCichecki merged 1 commit intoBartoszCichecki:masterfrom
shockdude:pathInfoInPlace

Conversation

@shockdude
Copy link
Contributor

Minor update to #1647 where the pathInfos array is edited in-place instead of creating a new array.
Used a for loop instead of FindIndex() because I'm not confident enough in winapi to know if there can only be one PathInfo per PathDisplaySource or not

@BartoszCichecki BartoszCichecki merged commit a96a012 into BartoszCichecki:master May 18, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants