[Modify] Polish it
This commit is contained in:
@@ -293,10 +293,12 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entity.Length > 0)
|
if (entity.Length > 0) {
|
||||||
buff.Append (entity.ToString ());
|
buff.Append (entity.ToString ());
|
||||||
else if (haveTrailingDigits)
|
|
||||||
buff.Append (number.ToString (CultureInfo.InvariantCulture));
|
if (haveTrailingDigits)
|
||||||
|
buff.Append (number.ToString (CultureInfo.InvariantCulture));
|
||||||
|
}
|
||||||
|
|
||||||
return buff.ToString ();
|
return buff.ToString ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user