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

Merge branch 'master' into plugins-python

This commit is contained in:
James Booth 2016-03-07 17:15:48 +00:00
commit 35e456aebd

View File

@ -5160,7 +5160,7 @@ cmd_log(ProfWin *window, const char *const command, gchar **args)
gboolean res = strtoi_range(value, &intval, PREFS_MIN_LOG_SIZE, INT_MAX, &err_msg); gboolean res = strtoi_range(value, &intval, PREFS_MIN_LOG_SIZE, INT_MAX, &err_msg);
if (res) { if (res) {
prefs_set_max_log_size(intval); prefs_set_max_log_size(intval);
cons_show("Log maxinum size set to %d bytes", intval); cons_show("Log maximum size set to %d bytes", intval);
} else { } else {
cons_show(err_msg); cons_show(err_msg);
free(err_msg); free(err_msg);