From fd1c824a084fdf3fa140f907a0257d9478717552 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 11 Jan 2014 04:26:35 -0800 Subject: [PATCH] I can't believe I wasted an entire day on this. --- Library.mm | 4 ++-- iphone-api | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library.mm b/Library.mm index 552639a..3cd36f7 100644 --- a/Library.mm +++ b/Library.mm @@ -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_); diff --git a/iphone-api b/iphone-api index cb6143b..6119449 160000 --- a/iphone-api +++ b/iphone-api @@ -1 +1 @@ -Subproject commit cb6143b6220d5a21115208f85b7f2b897dc3e1e6 +Subproject commit 6119449ea3a01c069d6b37595d86a7daf9c72473 -- 2.45.2