@matheusbsbs / matheus-bagliano / commits / 3d845d7763
Fork 0

Fix lapsus in builtin-apply.c

Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pierre Habouzit committed Sep 18, 2007 at 12:12 UTC 3d845d77639a8f91b9774b830d1a2d986a791489
1 file changed +1 -1
builtin-apply.c
+1 -1
@@ -254,7 +254,7 @@ static char *find_name(const char *line, char *def, int p_value, int terminate)
254 if (name) {
255 char *cp = name;
256 while (p_value) {
257 - cp = strchr(name, '/');
257 + cp = strchr(cp, '/');
258 if (!cp)
259 break;
260 cp++;