comparison nnchat.c @ 150:db5e7a1f1eb3

Add comment in config file about format of user color setting.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Nov 2010 22:52:22 +0200
parents a4d6707161a7
children 303db1141147
comparison
equal deleted inserted replaced
149:a4d6707161a7 150:db5e7a1f1eb3
835 835
836 tmpcfg = NULL; 836 tmpcfg = NULL;
837 th_cfg_add_comment(&tmpcfg, "General settings"); 837 th_cfg_add_comment(&tmpcfg, "General settings");
838 th_cfg_add_string(&tmpcfg, "username", &optUserName, NULL); 838 th_cfg_add_string(&tmpcfg, "username", &optUserName, NULL);
839 th_cfg_add_string(&tmpcfg, "password", &optPassword, NULL); 839 th_cfg_add_string(&tmpcfg, "password", &optPassword, NULL);
840 th_cfg_add_comment(&tmpcfg, "Default color as a hex-triplet");
840 th_cfg_add_hexvalue(&tmpcfg, "color", &optUserColor, optUserColor); 841 th_cfg_add_hexvalue(&tmpcfg, "color", &optUserColor, optUserColor);
841 842
842 th_cfg_add_comment(&tmpcfg, "Default setting of ignore mode"); 843 th_cfg_add_comment(&tmpcfg, "Default setting of ignore mode");
843 th_cfg_add_boolean(&tmpcfg, "ignore", &setIgnoreMode, setIgnoreMode); 844 th_cfg_add_boolean(&tmpcfg, "ignore", &setIgnoreMode, setIgnoreMode);
844 th_cfg_add_comment(&tmpcfg, "People to be ignored when ignore mode is enabled"); 845 th_cfg_add_comment(&tmpcfg, "People to be ignored when ignore mode is enabled");