updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gmodplay / slang2.patch
blobe9b122c16fa9732e41b0294c3c35c86147995134
1 --- cmdline/cmdline.cpp~ 2006-12-29 23:06:53.000000000 +0200
2 +++ cmdline/cmdline.cpp 2006-12-29 23:14:20.000000000 +0200
3 @@ -172,11 +172,11 @@
4 SLtt_get_terminfo();
5 SLtt_get_screen_size();
6 if (SLkp_init() == -1) {
7 - SLang_doerror("SLkp_init() failed.");
8 + SLang_verror(SL_INTRINSIC_ERROR, "SLkp_init() failed.");
9 exit(-1);
11 if (SLang_init_tty(-1, 0, 0) == -1) {
12 - SLang_doerror("SLang_init_tty() failed.");
13 + SLang_verror(SL_INTRINSIC_ERROR, "SLang_init_tty() failed.");
14 exit(-1);
16 SLang_set_abort_signal(NULL);
17 @@ -196,7 +196,7 @@
18 //SLsmg_normal_video();
20 if (SLsmg_init_smg() == -1) {
21 - SLang_doerror("SLsmg_init_smg() failed.");
22 + SLang_verror(SL_INTRINSIC_ERROR, "SLsmg_init_smg() failed.");
23 SLang_reset_tty();
24 exit(-1);