1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge pull request #1537 from rjc/spelling

Fix spelling of "persistent(ly)"
This commit is contained in:
Michael Vetter 2021-05-24 19:10:30 +02:00 committed by GitHub
commit efe4470372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5127,14 +5127,14 @@ cmd_clear(ProfWin* window, const char* const command, gchar** args)
if (args[1] != NULL) {
if ((g_strcmp0(args[1], "on") == 0) || (g_strcmp0(args[1], "off") == 0)) {
_cmd_set_boolean_preference(args[1], command, "Persistant history", PREF_CLEAR_PERSIST_HISTORY);
_cmd_set_boolean_preference(args[1], command, "Persistent history", PREF_CLEAR_PERSIST_HISTORY);
return TRUE;
}
} else {
if (prefs_get_boolean(PREF_CLEAR_PERSIST_HISTORY)) {
win_println(window, THEME_DEFAULT, "!", " Persistantly clear screen : ON");
win_println(window, THEME_DEFAULT, "!", " Persistently clear screen : ON");
} else {
win_println(window, THEME_DEFAULT, "!", " Persistantly clear screen : OFF");
win_println(window, THEME_DEFAULT, "!", " Persistently clear screen : OFF");
}
return TRUE;
}