amagnasco / xwpe

Upload of an abandoned ncurses-based programming environment
http://www.identicalsoftware.com/xwpe/
GNU General Public License v2.0
29 stars 6 forks source link

Reformatted all .c and .h in src directory using indent with default … #66

Closed gbonnema closed 7 years ago

gbonnema commented 7 years ago

This pull request contains only one commit in which all code sources (except config.h which is generated) were formatted. I used the program indent without options to format the sources. This results in a format according to the default -gnu-style which turns out to be quite readable.

The remaining question is how to get make sure the sources stay formatted, even if someone edits them with different formatting options (like my vim has). I am leaning towards automatic formatting during commit. That would certainly guarantee the format. I just don't know how to realize that, yet.

For now, just this pull request. It solves issue #60 Formatting makes reading and understanding difficult.