diff --git a/Telegram/SourceFiles/kotato/settings.cpp b/Telegram/SourceFiles/kotato/settings.cpp index c4ddf4130..00b74a742 100644 --- a/Telegram/SourceFiles/kotato/settings.cpp +++ b/Telegram/SourceFiles/kotato/settings.cpp @@ -132,7 +132,7 @@ bool UseNativeDecorations() { rpl::variable gRecentStickersLimit = 20; void SetRecentStickersLimit(int limit) { - if (limit >= 0 || limit <= 200) { + if (limit >= 0 && limit <= 200) { gRecentStickersLimit = limit; } }