* sldisply.c (RGB_to_BGR): Make const.

* slsignal.c (SLsystem): Commented out.
This commit is contained in:
Pavel Roskin 2003-09-26 21:34:49 +00:00
parent 85dd40bb18
commit df44271fd0
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-09-26 Andrew V. Samoilov <sav@bcs.zp.ua>
* sldisply.c (RGB_to_BGR): Make const.
* slsignal.c (SLsystem): Commented out.
2003-09-11 Andrew V. Samoilov <sav@bcs.zp.ua>
* slerr.c (SLang_doerror): Fix possible off-by-one error.

View File

@ -164,7 +164,7 @@ static Ansi_Color_Type Ansi_Color_Map[JMAX_COLORS] =
static int Is_Fg_BGR = 0;
static int Is_Bg_BGR = 0;
#define COLOR_ARG(color, is_bgr) (is_bgr ? RGB_to_BGR[color] : color)
static int RGB_to_BGR[] =
static int const RGB_to_BGR[] =
{
0, 4, 2, 6, 1, 5, 3, 7
};

View File

@ -151,6 +151,7 @@ int SLsig_unblock_signals (void)
#endif
}
#if 0
#ifdef MSWINDOWS
int SLsystem (char *cmd)
{
@ -288,7 +289,6 @@ int SLsystem (char *cmd)
}
#endif
#if 0
#include <windows.h>
static int msw_system (char *cmd)
{