]> git.saurik.com Git - winterboard.git/commitdiff
I can't believe I wasted an entire day on this.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 11 Jan 2014 12:26:35 +0000 (04:26 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 11 Jan 2014 12:26:41 +0000 (04:26 -0800)
Library.mm
iphone-api

index 552639a723a5d7e34fa542a233b3ba093fe8bad6..3cd36f77d889e8fe848b072c7f39432c3d44617a 100644 (file)
@@ -836,7 +836,7 @@ MSInstanceMessageHook7(CGSize, NSString, _drawInRect,withFont,lineBreakMode,alig
     return CGSizeZero;
 }
 
-MSInstanceMessageHook4(CGSize, NSString, sizeWithFont,forWidth,lineBreakMode,letterSpacing, UIFont *, font, float, width, UILineBreakMode, mode, float, spacing) {
+MSInstanceMessage4(CGSize, NSString, sizeWithFont,forWidth,lineBreakMode,letterSpacing, UIFont *, font, CGFloat, width, UILineBreakMode, mode, CGFloat, spacing) {
     //NSLog(@"XXX: #\"%@\" \"%@\" %g %u %g", self, font, width, mode, spacing);
 
     WBStringDrawingState *state(stringDrawingState_);
@@ -857,7 +857,7 @@ MSInstanceMessageHook4(CGSize, NSString, sizeWithFont,forWidth,lineBreakMode,let
     return [self sizeWithStyle:[NSString stringWithFormat:@"%@;%@;%@;%@;%@", [font markupDescription], WBColorMarkup(), extra, base, info] forWidth:width];
 }
 
-MSInstanceMessageHook1(CGSize, NSString, sizeWithFont, UIFont *, font) {
+MSInstanceMessage1(CGSize, NSString, sizeWithFont, UIFont *, font) {
     //NSLog(@"XXX: ?\"%@\"", self);
 
     WBStringDrawingState *state(stringDrawingState_);
index cb6143b6220d5a21115208f85b7f2b897dc3e1e6..6119449ea3a01c069d6b37595d86a7daf9c72473 160000 (submodule)
@@ -1 +1 @@
-Subproject commit cb6143b6220d5a21115208f85b7f2b897dc3e1e6
+Subproject commit 6119449ea3a01c069d6b37595d86a7daf9c72473