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: fix trailing space #673

Merged
merged 1 commit into from
Dec 23, 2023
Merged

Conversation

apocelipes
Copy link
Contributor

@apocelipes apocelipes commented Dec 22, 2023

I have checked all calls of ffAppendFDBuffer and fix most of the trailing space problems.

Some data just passed to the parser(e.g. strtoul), trailing space in these cases are not problems, stay as is.

The contents of some sysfs files have a fixed format(like /sys/class/net/*/operstate), so instead of removing trailing spaces and newlines, the contents being compared are updated.

Code under src/logo I didn't change because there is no trailing space problem here, but I'm not 100% sure. This shoule be checked in reviewing.

@CarterLi CarterLi merged commit 113b1b8 into fastfetch-cli:dev Dec 23, 2023
18 checks passed
@apocelipes apocelipes deleted the fix-trailing-space branch December 25, 2023 00:38
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