[PATCH] Make git-apply understand incomplete lines in non-C locales
[git.git] / diff.c
diff --git a/diff.c b/diff.c
index 9015c81..527cbf0 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -704,7 +704,7 @@ static int parse_num(const char **cp_p)
                        scale *= 10;
                        num = num * 10 + ch - '0';
                }
-               *cp++;
+               cp++;
        }
        *cp_p = cp;