]> git.saurik.com Git - winterboard.git/commitdiff
Fix issues with BadgeStyle.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 16 Apr 2012 14:46:55 +0000 (14:46 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 16 Apr 2012 14:46:55 +0000 (14:46 +0000)
Library.mm

index 65de6d89870a3f50c1b8725c038b54e7757c1812..223b681242378875dfc886cad272806d30648f4e 100644 (file)
@@ -870,7 +870,7 @@ MSInstanceMessageHook1(CGSize, NSString, sizeWithFont, UIFont *, font) {
 }
 
 MSInstanceMessageHook1(UIImage *, SBIconBadgeFactory, checkoutBadgeImageForText, NSString *, text) {
-    WBStringDrawingState badgeState = {NULL, 1, @""
+    WBStringDrawingState badgeState = {NULL, -1, @""
     , @"BadgeStyle"};
 
     stringDrawingState_ = &badgeState;