Skip to content

Commit

Permalink
Fix for unnecessarily stripping newlines -- closes #66 again
Browse files Browse the repository at this point in the history
  • Loading branch information
andyedinborough committed Apr 9, 2012
1 parent ab4975f commit 84b9296
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ internal static string DecodeQuotedPrintable(string value, Encoding encoding = n
var n = 0;
for (int i = 0; i < data.Length; i++) {
var b = data[i];
if (b == 10 || b == 13) {
continue;

} else if (b == eq) {
if (b == eq) {
byte b1 = data[i + 1], b2 = data[i + 2];
if (b1 == 10 || b1 == 13) {
i++;
Expand Down

0 comments on commit 84b9296

Please sign in to comment.