mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
* sldisply.c (RGB_to_BGR): Make const.
* slsignal.c (SLsystem): Commented out.
This commit is contained in:
parent
85dd40bb18
commit
df44271fd0
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user