From: Jay Freeman (saurik) Date: Sun, 3 Jun 2012 05:37:46 +0000 (+0000) Subject: Finally update WBRename() to use MSHookMessageEx(). X-Git-Tag: v0.9.3906~15 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/fdd97c90ed7626e943361150c529871c9de5a1a9?ds=inline Finally update WBRename() to use MSHookMessageEx(). --- diff --git a/Library.mm b/Library.mm index 35c7002..a25d662 100644 --- a/Library.mm +++ b/Library.mm @@ -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 static void msset(Type_ &function, MSImageRef image, const char *name) {