Browse Source

Add the missing newlines between repeated extension files.

Thomas Van Lenten 7 năm trước cách đây
mục cha
commit
3eb2889e9e
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      objectivec/GPBUtilities.m

+ 3 - 3
objectivec/GPBUtilities.m

@@ -1949,10 +1949,10 @@ static void AppendTextFormatForMessageExtensionRange(GPBMessage *message,
 
       }  // switch(extDataType)
 
-    }  //  for(numValues)
+      // End the line.
+      [toStr appendFormat:@"%@\n", lineEnding];
 
-    // End the line.
-    [toStr appendFormat:@"%@\n", lineEnding];
+    }  //  for(numValues)
 
   }  // for..in(activeExtensions)
 }