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

Fix Shortcuts crash #68

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Fix Shortcuts crash #68

merged 1 commit into from
Jul 25, 2024

Conversation

Kashinathpat
Copy link
Contributor

Fixes a crash in the application related to parsing .desktop files.

The crash occurred due to improper handling of lines containing [ characters outside of valid section headers.
If a file path contained [, it was incorrectly interpreted as a section header, leading to an empty path and subsequent errors.

Updated the parsing logic to check if a line starts with [ to determine if it's a valid section header.
Ensured that lines with [ characters in file paths are correctly parsed as data rather than section headers.

@brunodev85 brunodev85 merged commit eed37d6 into brunodev85:main Jul 25, 2024
@Kashinathpat Kashinathpat deleted the patch-1 branch July 26, 2024 05:12
coffincolors pushed a commit to coffincolors/winlator that referenced this pull request Sep 10, 2024
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