Fix missing pointer dereference in the diff parser.
* subversion/libsvn_diff/parse-diff.c
(parse_pretty_mergeinfo_line): number_of_forward_merges is a pointer.
Read the number of forward merges as intended, instead of checking
whether the address is greater zero.
Patch by: Johannes von Rotz (jr {AT} vrtz.ch)
@@ -1006,7 +1006,7 @@ parse_pretty_mergeinfo_line(svn_boolean_t *found_mergeinfo,
}
(*number_of_reverse_merges)--;
}
- else if (number_of_forward_merges > 0) /* forward merges */
+ else if (*number_of_forward_merges > 0) /* forward merges */
{
if (patch->reverse)
{
