From e05a7e78f4a110a59902f09abfbaa148d31b8909 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 21 Oct 2011 07:52:25 +0000 Subject: [PATCH] Do not conflict with libweather. --- Library.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library.mm b/Library.mm index 6d189f5..e4a9df1 100644 --- a/Library.mm +++ b/Library.mm @@ -242,7 +242,7 @@ static unsigned $getScale$(NSString *path) { } static NSArray *$useScale$(NSArray *files, bool use = true) { - if (Scale_ == 0) { + if (use && Scale_ == 0) { UIScreen *screen([UIScreen mainScreen]); if ([screen respondsToSelector:@selector(scale)]) Scale_ = [screen scale]; -- 2.45.2