mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
bump the ratio buffer size to 12, to be on the safe side
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
if (ratio == TR_RATIO_NA)
|
||||
return NSLocalizedString(@"N/A", "No Ratio");
|
||||
|
||||
char buf[8];
|
||||
char buf[12];
|
||||
return [NSString stringWithUTF8String: tr_strratio(buf, sizeof(buf), ratio, "\xE2\x88\x9E")];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user