Fix the bug that it should write the zero diff to the output file when the actual diff is negative.

Change-Id: I5d7c12b0ad9c0286658067cacb7f385626a3107f
1 file changed