Skip to content

Commit a98ae5c

Browse files
committed
*sigh* Windows.
1 parent 049b501 commit a98ae5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate/templates/manual/src/convenient_patch.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ PatchData *createFromRaw(git_patch *raw) {
8888
calculatedContentLength > noNewlineStringLength &&
8989
!strncmp(
9090
&line->content[calculatedContentLength - noNewlineStringLength],
91-
"\n\\ No newline at end of file\n", std::min(calculatedContentLength, noNewlineStringLength)
91+
"\n\\ No newline at end of file\n", (std::min)(calculatedContentLength, noNewlineStringLength)
9292
)) {
9393
EOFFlag = true;
9494
}

0 commit comments

Comments
 (0)