Skip to content

Commit c640bec

Browse files
committed
fix
1 parent 96159c8 commit c640bec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

QRCoder/SvgQRCode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ void Append(int num)
287287
if (num.TryFormat(buffer, out int charsWritten, default, CultureInfo.InvariantCulture))
288288
{
289289
svgFile.Append(buffer.Slice(0, charsWritten));
290+
return;
290291
}
291292
#endif
292293
svgFile.Append(num.ToString(CultureInfo.InvariantCulture));

0 commit comments

Comments
 (0)