diff options
author | Damiano Galassi <[email protected]> | 2019-06-08 16:20:43 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-06-08 16:20:43 +0200 |
commit | c36996ced365c839b01c5297d799ba79f1e05299 (patch) | |
tree | b584d6a570d36def3f07ef7a4e8f7ae36ac0f64c /macosx/HBFilters.m | |
parent | 908b78452f8e53b5a9de3a592949eb30b21a5ec5 (diff) |
MacGui: write the queue to disk less often and add some validations when reading it back from disk.
Diffstat (limited to 'macosx/HBFilters.m')
-rw-r--r-- | macosx/HBFilters.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBFilters.m b/macosx/HBFilters.m index ec806d643..08c0a5a2d 100644 --- a/macosx/HBFilters.m +++ b/macosx/HBFilters.m @@ -876,7 +876,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification"; decodeObjectOrFail(_deblockCustomString, NSString); decodeBool(_grayscale); - decodeInt(_rotate); + decodeInt(_rotate); if (_rotate != 0 && _rotate != 90 && _rotate != 180 && _rotate != 270) { goto fail; } decodeBool(_flip); _notificationsEnabled = YES; |