1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

bump the ratio buffer size to 12, to be on the safe side

This commit is contained in:
Mitchell Livingston 2009-10-27 04:35:34 +00:00
parent 0ce3e4ac41
commit ae5c51060c

View file

@ -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")];
}