summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-18 21:15:49 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-18 21:15:49 -0700
commitcc106c223907363739d6cba187329301f0ab3ace (patch)
treea53fda16acda86c78031a23f624f8063852fe841
parent9d489dc8b4410b43357222583b0c7714c2b2f9dc (diff)
Fix expiration of UI state.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 5250e29..853e9b9 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9864,7 +9864,7 @@ _trace();
if (valid && closed != nil) {
NSTimeInterval interval([closed timeIntervalSinceNow]);
// XXX: Is 15 minutes the optimal time here?
- if (interval > 0 && interval <= -(15*60))
+ if (interval <= -(15*60))
valid = NO;
}