added bounding for the show_trees config value

SVN revision: 12437
This commit is contained in:
tsauerbeck 2004-12-10 17:18:51 +00:00 committed by tsauerbeck
parent 72e4831c70
commit fd71375581
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ _snow_init(E_Module *m)
snow->conf->flake_count = 60;
snow->conf->show_trees = 1;
}
E_CONFIG_LIMIT(snow->conf->show_trees, 0, 1);
managers = e_manager_list();
for (l = managers; l; l = l->next)