]> git.saurik.com Git - winterboard.git/blobdiff - Library.mm
Fix issues with BadgeStyle.
[winterboard.git] / 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;