From: Jay Freeman (saurik) Date: Fri, 21 Oct 2011 07:52:25 +0000 (+0000) Subject: Do not conflict with libweather. X-Git-Tag: v0.9.3903^0 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/e05a7e78f4a110a59902f09abfbaa148d31b8909 Do not conflict with libweather. --- 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];