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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Globally apply preprocessor directive coding style #8259

Merged
merged 1 commit into from Jul 3, 2020

Conversation

techgeeknz
Copy link
Contributor

@techgeeknz techgeeknz commented Jul 2, 2020

I sed I would do this 馃槈

Command used:

find . -type f -regex '.*\.[ch]\(pp\)?\(\.[^/]*\)?' -print0 | xargs -0 sed -e's/^\([[:blank:]]\+\)[#]/#\1/g' -i

Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

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

That works too :)

@nielsmh nielsmh merged commit 716c883 into OpenTTD:master Jul 3, 2020
@techgeeknz
Copy link
Contributor Author

That works too :)

What problem? I don't see a problem 馃槒.

@techgeeknz techgeeknz deleted the master_stdafx branch July 3, 2020 08: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.

None yet

3 participants