diff options
Diffstat (limited to 'vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go')
-rw-r--r-- | vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go b/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go index 223c43c426..0dbe3bdd7d 100644 --- a/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go +++ b/vendor/github.com/sergi/go-diff/diffmatchpatch/patch.go @@ -324,7 +324,7 @@ func (dmp *DiffMatchPatch) PatchAddPadding(patches []Patch) string { paddingLength := dmp.PatchMargin nullPadding := "" for x := 1; x <= paddingLength; x++ { - nullPadding += string(x) + nullPadding += string(rune(x)) } // Bump all the patches forward. |