summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-09-08 02:17:13 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:59 +0000
commitef34802428020d4607a79a63b1d9afa2b4adf76c (patch)
treed33641d5cd9c0b25e4517e4a0e64dd660381191d /Cydia.mm
parent670a04941260717d9759a85b8d20585bc976e56e (diff)
Final go at release?
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 225173a..76d8a0c 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -422,7 +422,7 @@ static const CFStringCompareFlags LaxCompareFlags_ = kCFCompareCaseInsensitive |
#define lprintf(args...) fprintf(stderr, args)
-#define ForRelease 0
+#define ForRelease 1
#define TraceLogging (1 && !ForRelease)
#define HistogramInsertionSort (0 && !ForRelease)
#define ProfileTimes (0 && !ForRelease)
@@ -3248,7 +3248,7 @@ static NSString *Warning_;
message += error;
}
- if (!message.empty())
+ if (fatal && !message.empty())
[delegate_ _setProgressError:[NSString stringWithUTF8String:message.c_str()] withTitle:[NSString stringWithFormat:Colon_, fatal ? Error_ : Warning_, title]];
return fatal;
@@ -3579,7 +3579,7 @@ static NSString *Warning_;
return;
if ([self popErrorWithTitle:title forOperation:ListUpdate(status, list, PulseInterval_)])
- return;
+ /* XXX: ignore this because users suck and don't understand why refreshing is important: return */;
[Metadata_ setObject:[NSDate date] forKey:@"LastUpdate"];
Changed_ = true;