Fixes a wrong API call.

This commit is contained in:
zonble 2022-01-15 20:50:12 +08:00
parent 5c0a14deeb
commit 4e56f350e8
1 changed files with 1 additions and 1 deletions

View File

@ -1509,7 +1509,7 @@ NS_INLINE size_t max(size_t a, size_t b) { return a > b ? a : b; }
{
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-result"
[Preferences tooglePhraseReplacementEnabled];
[Preferences toogleHalfWidthPunctuationEnabled];
#pragma GCC diagnostic pop
}