Mercurial > hg
comparison mcabber/src/main.c @ 135:ef898db62b79
[/trunk] Changeset 148 by mikael
* Get rid of lang. Maybe we'll use gettext later... (?)
author | mikael |
---|---|
date | Thu, 28 Apr 2005 17:56:58 +0000 |
parents | cfd3df636d5f |
children | 250f872c722f |
comparison
equal
deleted
inserted
replaced
134:e19ad58c3cad | 135:ef898db62b79 |
---|---|
10 #include "screen.h" | 10 #include "screen.h" |
11 #include "parsecfg.h" | 11 #include "parsecfg.h" |
12 #include "roster.h" | 12 #include "roster.h" |
13 #include "commands.h" | 13 #include "commands.h" |
14 #include "histolog.h" | 14 #include "histolog.h" |
15 #include "lang.h" | |
16 #include "utils.h" | 15 #include "utils.h" |
17 #include "harddefines.h" | 16 #include "harddefines.h" |
18 | 17 |
19 | 18 |
20 void sig_handler(int signum) | 19 void sig_handler(int signum) |
84 | 83 |
85 credits(); | 84 credits(); |
86 | 85 |
87 /* SET THIS >0 TO ENABLE LOG */ | 86 /* SET THIS >0 TO ENABLE LOG */ |
88 ut_InitDebug(1); | 87 ut_InitDebug(1); |
89 | |
90 lng_InitLanguage(); | |
91 | 88 |
92 ut_WriteLog("Setting signals handlers...\n"); | 89 ut_WriteLog("Setting signals handlers...\n"); |
93 signal(SIGTERM, sig_handler); | 90 signal(SIGTERM, sig_handler); |
94 signal(SIGALRM, sig_handler); | 91 signal(SIGALRM, sig_handler); |
95 | 92 |