Commit 3c389916 authored by Jon Skeet's avatar Jon Skeet Committed by unknown

Fix variance in line endings

committer: Jon Skeet <skeet@pobox.com>
parent f92c545f
...@@ -45,7 +45,7 @@ void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { ...@@ -45,7 +45,7 @@ void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) {
// print group bodies so we cut off after the first line. // print group bodies so we cut off after the first line.
string def = field->DebugString(); string def = field->DebugString();
printer->Print("// $def$\r\n", printer->Print("// $def$\r\n",
"def", def.substr(0, def.find_first_of('\r\n'))); "def", def.substr(0, def.find_first_of('\n')));
} }
struct FieldOrderingByNumber { struct FieldOrderingByNumber {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment