From: Jay Freeman (saurik) Date: Mon, 17 Oct 2011 12:08:27 +0000 (+0000) Subject: Fix Wallpaper filenames. X-Git-Tag: v0.9.3901~15 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/b461e3ec585f8899d86e38674566930a7445414e?hp=ecf154db3dac0103c3865577a822eabe9638ccda Fix Wallpaper filenames. --- diff --git a/Library.mm b/Library.mm index 5913730..fe01279 100644 --- a/Library.mm +++ b/Library.mm @@ -891,7 +891,7 @@ MSInstanceMessageHook0(id, SBUIController, init) { [indirect addSubview:video]; } - if (NSString *path = $getTheme$([NSArray arrayWithObjects:@"Wallpaper@2x.png", @"Wallpaper@2x.jpg", @"Wallpaper.png", @"Wallpaper.jpg", nil], themes)) { + if (NSString *path = $getTheme$($useScale$([NSArray arrayWithObjects:@"Wallpaper.png", @"Wallpaper.jpg", nil]), themes)) { if (UIImage *image = $getImage$(path)) { WallpaperFile_ = [path retain]; WallpaperImage_ = [[UIImageView alloc] initWithImage:image]; @@ -901,7 +901,7 @@ MSInstanceMessageHook0(id, SBUIController, init) { } } - if (NSString *path = $getTheme$([NSArray arrayWithObject:@"Wallpaper@.html"], themes)) { + if (NSString *path = $getTheme$([NSArray arrayWithObject:@"Wallpaper.html"], themes)) { CGRect bounds = [indirect bounds]; UIWebDocumentView *view([[[UIWebDocumentView alloc] initWithFrame:bounds] autorelease]);