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