Mercurial > audlegacy-plugins
changeset 2772:fea021087241
enable lirc reconnect by default
author | Andrew O. Shadoura <bugzilla@tut.by> |
---|---|
date | Mon, 09 Jun 2008 21:40:22 +0300 |
parents | 949d790e8e33 |
children | 624e5ed793a5 |
files | src/lirc/lirc_cfg.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lirc/lirc_cfg.c Mon Jun 09 20:30:54 2008 +0300 +++ b/src/lirc/lirc_cfg.c Mon Jun 09 21:40:22 2008 +0300 @@ -20,8 +20,12 @@ aud_cfg_db_get_int(db, "lirc", "enable_reconnect", &b_enable_reconnect); aud_cfg_db_get_int(db, "lirc", "reconnect_timeout", &reconnect_timeout); if (!aud_cfg_db_get_string(db, "aosd", "text_fonts_name_0", &aosd_font)) - aosd_font = g_strdup("Sans 26"); - if (!reconnect_timeout) reconnect_timeout = 5; + aosd_font = g_strdup("Sans 26"); + if (!reconnect_timeout) + { + reconnect_timeout = 5; + b_enable_reconnect = 1; + } aud_cfg_db_close(db); }