From b461e3ec585f8899d86e38674566930a7445414e Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 17 Oct 2011 12:08:27 +0000 Subject: [PATCH] Fix Wallpaper filenames. --- Library.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); -- 2.45.2