We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c5cb1 commit c38fc1aCopy full SHA for c38fc1a
diffmatchpatch/patch.go
@@ -324,7 +324,7 @@ func (dmp *DiffMatchPatch) PatchAddPadding(patches []Patch) string {
324
paddingLength := dmp.PatchMargin
325
nullPadding := ""
326
for x := 1; x <= paddingLength; x++ {
327
- nullPadding += string(x)
+ nullPadding += string(rune(x))
328
}
329
330
// Bump all the patches forward.
0 commit comments