This commit is contained in:
Wengier
2021-07-22 13:04:18 -04:00
parent 91502d0903
commit c76d76cb15

View File

@@ -296,7 +296,7 @@ static bool CheckEmptyData(uint8_t *data, Bitu length)
}
#if defined(LINUX) && C_X11
static Bit8u linux_symbol_16[] = {
static uint8_t linux_symbol_16[] = {
// 0x815f
0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x01, 0x00,
0x00, 0x80, 0x00, 0x40, 0x00, 0x20, 0x00, 0x10, 0x00, 0x08, 0x00, 0x04, 0x00, 0x02, 0x00, 0x01,
@@ -311,7 +311,7 @@ static Bit8u linux_symbol_16[] = {
0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
static Bit8u linux_symbol_24[] = {
static uint8_t linux_symbol_24[] = {
// 0x815f
0x80, 0x00, 0x00, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x00, 0x00,
0x00, 0x80, 0x00, 0x00, 0x40, 0x00, 0x00, 0x20, 0x00, 0x00, 0x10, 0x00, 0x00, 0x08, 0x00, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0x00, 0x01, 0x00,
@@ -330,9 +330,9 @@ static Bit8u linux_symbol_24[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
bool CheckLinuxSymbol(Bitu code, Bit8u *buff, int width, int height)
bool CheckLinuxSymbol(Bitu code, uint8_t *buff, int width, int height)
{
Bit8u *src;
uint8_t *src;
int len, offset;
if(width == 16 && height == 16) {
src = linux_symbol_16;