Author: stsp Date: Mon Nov 28 22:21:56 2011 New Revision: 1207656 URL: http://svn.apache.org/viewvc?rev=1207656&view=rev Log: * subversion/libsvn_diff/parse-diff.c (parse_next_hunk): When testing a boolean accessed via a pointer it kinda makes sense to dereference the pointer.
Modified: subversion/trunk/subversion/libsvn_diff/parse-diff.c Modified: subversion/trunk/subversion/libsvn_diff/parse-diff.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_diff/parse-diff.c?rev=1207656&r1=1207655&r2=1207656&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_diff/parse-diff.c (original) +++ subversion/trunk/subversion/libsvn_diff/parse-diff.c Mon Nov 28 22:21:56 2011 @@ -641,9 +641,9 @@ parse_next_hunk(svn_diff_hunk_t **hunk, if (line->data[0] == '\\') { if (in_hunk && - ((!is_property && + ((!*is_property && strcmp(line->data, "\\ No newline at end of file") == 0) || - (is_property && + (*is_property && strcmp(line->data, "\\ No newline at end of property") == 0))) { char eolbuf[2];