diff options
author | zlg <zlg@zlg.space> | 2016-06-16 10:15:33 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2016-06-16 10:15:33 -0700 |
commit | f8d9ff23eb8d3e3286ff5cf4d5f9493532991bb7 (patch) | |
tree | e37b327d7f93435e93a57427600d2b91fbb0cd87 /ch7 | |
parent | Solve Exercise 7-2: Format arbitrary input (diff) | |
download | knr-f8d9ff23eb8d3e3286ff5cf4d5f9493532991bb7.tar.gz knr-f8d9ff23eb8d3e3286ff5cf4d5f9493532991bb7.tar.bz2 knr-f8d9ff23eb8d3e3286ff5cf4d5f9493532991bb7.tar.xz knr-f8d9ff23eb8d3e3286ff5cf4d5f9493532991bb7.zip |
The massive astyle sweep!
Code style should be consistent now. All future commits will be run through
astyle or they will be amended.
Diffstat (limited to 'ch7')
-rw-r--r-- | ch7/7-01_upper-lower.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ch7/7-01_upper-lower.c b/ch7/7-01_upper-lower.c index 2f641c1..047c83c 100644 --- a/ch7/7-01_upper-lower.c +++ b/ch7/7-01_upper-lower.c @@ -26,12 +26,12 @@ int main(int argc, char *argv[]) { plow = strstr(argv[0], "lower"); pupp = strstr(argv[0], "upper"); if (plow != NULL) { - lpos = (int) (plow - argv[0]); + lpos = (int)(plow - argv[0]); } else { lpos = -1; } if (pupp != NULL) { - upos = (int) (pupp - argv[0]); + upos = (int)(pupp - argv[0]); } else { upos = -1; } |