mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
bump the ratio buffer size to 12, to be on the safe side
This commit is contained in:
parent
0ce3e4ac41
commit
ae5c51060c
1 changed files with 1 additions and 1 deletions
|
@ -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")];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue