If a proto has multiple extension ranges back to back, don't double print the first items as they also are the ending range of the previous.
@@ -1865,7 +1865,7 @@ static void AppendTextFormatForMessageExtensionRange(GPBMessage *message,
// Not there yet.
continue;
}
- if (fieldNumber > end) {
+ if (fieldNumber >= end) {
// Done.
break;