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 1 commit into from Jul 3, 2020


Copy link

@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
src/blitter/32bpp_anim_sse4.cpp Outdated Show resolved Hide resolved
Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
LordAro approved these changes Jul 3, 2020
Copy link

@LordAro LordAro left a comment

That works too :)

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

@techgeeknz techgeeknz commented Jul 3, 2020

That works too :)

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

@techgeeknz techgeeknz deleted the master_stdafx branch Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants