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

lag_min_show change wrong

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3145 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2003-11-16 17:29:30 +00:00 committed by cras
parent 0235086ab9
commit b1e2d7b5ef

View File

@ -452,7 +452,7 @@ static int backwards_compatibility(const char *module, CONFIG_NODE *node,
if (strcmp(module, "fe-text") == 0) { if (strcmp(module, "fe-text") == 0) {
if (strcasecmp(node->key, "lag_min_show") == 0) if (strcasecmp(node->key, "lag_min_show") == 0)
new_value = g_strdup_printf("%dms", old_value*100); new_value = g_strdup_printf("%dms", old_value*10);
else if (strcasecmp(node->key, "scrollback_hours") == 0) { else if (strcasecmp(node->key, "scrollback_hours") == 0) {
new_value = g_strdup_printf("%dh", old_value); new_value = g_strdup_printf("%dh", old_value);
new_key = "scrollback_time"; new_key = "scrollback_time";