Skip to content
This repository
Newer
Older
100644 45 lines (45 sloc) 0.873 kb
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
1 /* Generated by genconfig */
2 int conf_check(void)
3 {
4 if(width<30)
5 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
6 atr_failsafe(&s_buf, STA, "width set to minimum 30", "init: ");
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
7 width=30;
8 }
9 if(height<5)
10 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
11 atr_failsafe(&s_buf, STA, "height set to minimum 5", "init: ");
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
12 height=5;
13 }
14 if(mirc_colour_compat>2)
15 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
16 atr_failsafe(&s_buf, STA, "mcc set to maximum 2", "init: ");
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
17 mirc_colour_compat=2;
18 }
19 if(force_redraw>3)
20 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
21 atr_failsafe(&s_buf, STA, "fred set to maximum 3", "init: ");
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
22 force_redraw=3;
23 }
24 if(buflines<32)
25 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
26 atr_failsafe(&s_buf, STA, "buf set to minimum 32", "init: ");
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
27 buflines=32;
28 }
29 if(maxnlen<4)
30 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
31 atr_failsafe(&s_buf, STA, "mnln set to minimum 4", "init: ");
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
32 maxnlen=4;
33 }
34 if(tping<15)
35 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
36 atr_failsafe(&s_buf, STA, "tping set to minimum 15", "init: ");
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
37 tping=15;
38 }
abbc34b9 » ec429
2012-03-02 New timestamp modes (with day of week). Doc updates.
39 if(ts>6)
3d938cf2 » ec429
2011-04-06 Timestamp display (/set ts <level>, /set utc)
40 {
e184c8bf » ec429
2012-03-02 Ring-buffer for debug messages. Complicated (see full message).
41 atr_failsafe(&s_buf, STA, "ts set to maximum 6", "init: ");
abbc34b9 » ec429
2012-03-02 New timestamp modes (with day of week). Doc updates.
42 ts=6;
3d938cf2 » ec429
2011-04-06 Timestamp display (/set ts <level>, /set utc)
43 }
de4ae608 » ec429
2011-04-06 config: generate much of the config code from a concise descriptions …
44 return(0);
45 }
Something went wrong with that request. Please try again.