1
1

* sldisply.c (RGB_to_BGR): Make const.

* slsignal.c (SLsystem): Commented out.
Этот коммит содержится в:
Pavel Roskin 2003-09-26 21:34:49 +00:00
родитель 85dd40bb18
Коммит df44271fd0
3 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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
};

Просмотреть файл

@ -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)
{