diff options
-rw-r--r-- | tools/genmacro/genmacro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genmacro/genmacro.c b/tools/genmacro/genmacro.c index 8e702b86..896cea5f 100644 --- a/tools/genmacro/genmacro.c +++ b/tools/genmacro/genmacro.c @@ -101,7 +101,7 @@ main(int argc, char *argv[]) strp++; len = strlen(strp); while (len > 0 && (strp[len-1] == ' ' || strp[len-1] == '\t' || - strp[len-1] == '\n')) { + strp[len-1] == '\r' || strp[len-1] == '\n')) { strp[len-1] = '\0'; len--; } |