Descriptionstrings: fix Replacer bug with prefix matches
singleStringReplacer had a bug where if a string was replaced
at the beginning and no output had yet been produced into the
temp buffer before matching ended, an invalid nil check (used
as a proxy for having matched anything) meant it always
returned its input.
Fixes issue 6659
Patch Set 1 #Patch Set 2 : diff -r 7ebbddd21330 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 7ebbddd21330 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 7ebbddd21330 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|