aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2008-08-14 20:33:26 +0100
committerunknown <Jon@.(none)>2008-08-14 20:33:26 +0100
commit3c38991607e993bc90c307c7a680fba97b77ecb4 (patch)
tree48c027fde787ddaf4b8e03e38337270ad9841677 /src
parentf92c545f493dce6e5a2e378e8268c1e7b0e55a4d (diff)
downloadprotobuf-3c38991607e993bc90c307c7a680fba97b77ecb4.tar.gz
protobuf-3c38991607e993bc90c307c7a680fba97b77ecb4.tar.bz2
protobuf-3c38991607e993bc90c307c7a680fba97b77ecb4.zip
Fix variance in line endings
committer: Jon Skeet <skeet@pobox.com>
Diffstat (limited to 'src')
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_message.cc b/src/google/protobuf/compiler/csharp/csharp_message.cc
index c6c094e1..fa03938a 100644
--- a/src/google/protobuf/compiler/csharp/csharp_message.cc
+++ b/src/google/protobuf/compiler/csharp/csharp_message.cc
@@ -45,7 +45,7 @@ void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) {
// print group bodies so we cut off after the first line.
string def = field->DebugString();
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 {