config.c: set the default value of tab zoom animation time to 0.5 if the value equals 0.

This commit is contained in:
Daniel Juyung Seo 2013-05-03 22:23:45 +09:00
parent 742c4a71af
commit 043bbe70b9
1 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,8 @@ config_load(const char *key)
{
LIM(config->font.size, 3, 400);
LIM(config->scrollback, 0, 200000);
if (config->tab_zoom == 0)
config->tab_zoom = 0.5;
LIM(config->tab_zoom, 0.1, 1.0);
LIM(config->vidmod, 0, 3)
}