diff options
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r-- | gcc/protoize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c index df8ec65..b577b2a 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -3970,7 +3970,9 @@ do_cleaning (new_clean_text_base, new_clean_text_limit) if (++scan_p >= new_clean_text_limit) abort (); } - *scan_p++ = ' '; + if (!isspace (*scan_p)) + *scan_p = ' '; + scan_p++; break; case '\\': /* Handle line continuations. */ |