diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/patch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/patch.c b/editors/patch.c index 1c9e97005..2bc594d16 100644 --- a/editors/patch.c +++ b/editors/patch.c | |||
@@ -50,7 +50,7 @@ static char *extract_filename(char *line, int patch_level, const char *pat) | |||
50 | 50 | ||
51 | if (strncmp(line, pat, 4) == 0) { | 51 | if (strncmp(line, pat, 4) == 0) { |
52 | /* Terminate string at end of source filename */ | 52 | /* Terminate string at end of source filename */ |
53 | line[strcspn(line,"\t\n\r")] = '\0'; | 53 | line[strcspn(line, "\t\n\r")] = '\0'; |
54 | 54 | ||
55 | /* Skip over (patch_level) number of leading directories */ | 55 | /* Skip over (patch_level) number of leading directories */ |
56 | while (patch_level--) { | 56 | while (patch_level--) { |