diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-01 18:03:10 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-06 20:28:20 +0200 |
| commit | f09e17c3c564e8310125a10c03397cbf473ff643 (patch) | |
| tree | 8d0fd4a28e3686c33aaa140d07ddba26ab28bdc2 /test/fromdos.c | |
| parent | b0e0c355edaa2e23148cb0260ada907aec930f05 (diff) | |
Remove $Id$ tags, update URL's, and more
- remove obsolete svn '$Id$' tags from all source files
- update .fl files and generated files accordingly
- replace 'http://www.fltk.org' URL's with 'https://...'
- replace bug report URL 'str.php' with 'bugs.php'
- remove trailing whitespace
- fix other whitespace errors flagged by Git
- add and/or fix missing or wrong standard headers
- convert tabs to spaces in all source files
The only relevant code changes are in the fluid/ folder where
some .fl files and other source files were used to generate
the '$Id' headers and footers.
Diffstat (limited to 'test/fromdos.c')
| -rw-r--r-- | test/fromdos.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fromdos.c b/test/fromdos.c index 54dff5a9f..13450214c 100644 --- a/test/fromdos.c +++ b/test/fromdos.c @@ -17,8 +17,8 @@ int main(int argc, char** argv) { for (;;) { c = getchar(); while (c == '\r') { - c = getchar(); - if (c != '\n') putchar(c); + c = getchar(); + if (c != '\n') putchar(c); } if (c < 0) break; putchar(c); @@ -45,8 +45,8 @@ int main(int argc, char** argv) { for (;;) { c = getc(in); while (c == '\r') { - c = getc(in); - if (c == '\n') mod=1; else putc(c,out); + c = getc(in); + if (c == '\n') mod=1; else putc(c,out); } if (c < 0) break; putc(c,out); |
