]> git.saurik.com Git - winterboard.git/commitdiff
Do not conflict with libweather. v0.9.3903
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 21 Oct 2011 07:52:25 +0000 (07:52 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 21 Oct 2011 07:52:25 +0000 (07:52 +0000)
Library.mm

index 6d189f5df1bbd0058015bdf4078bf3070bddeae3..e4a9df126440b092368c5da7c9c73f0b406f9d74 100644 (file)
@@ -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];