]> git.saurik.com Git - winterboard.git/commitdiff
Finally update WBRename() to use MSHookMessageEx().
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Jun 2012 05:37:46 +0000 (05:37 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Jun 2012 05:37:46 +0000 (05:37 +0000)
Library.mm

index 35c7002a38bbf46b8009fb4eb5575b1c3db2df47..a25d6625772084f26921338f419808b7190fbba2 100644 (file)
@@ -1929,7 +1929,7 @@ static void ChangeWallpaper(
 }
 
 #define WBRename(name, sel, imp) \
-    _ ## name ## $ ## imp = MSHookMessage($ ## name, @selector(sel), &$ ## name ## $ ## imp)
+    MSHookMessage($ ## name, @selector(sel), &$ ## name ## $ ## imp, &_ ## name ## $ ## imp)
 
 template <typename Type_>
 static void msset(Type_ &function, MSImageRef image, const char *name) {