Terminal: Fix GCC2 build.
This commit is contained in:
@@ -345,7 +345,7 @@ private:
|
|||||||
// keyboard
|
// keyboard
|
||||||
const key_map* fKeymap;
|
const key_map* fKeymap;
|
||||||
const char* fKeymapChars;
|
const char* fKeymapChars;
|
||||||
HashMap<HashKey32<int32>, const int(*)[128]>
|
HashMap<HashKey32<int32>, const int32(*)[128]>
|
||||||
fKeymapTableForModifiers;
|
fKeymapTableForModifiers;
|
||||||
bool fUseOptionAsMetaKey;
|
bool fUseOptionAsMetaKey;
|
||||||
bool fInterpretMetaKey;
|
bool fInterpretMetaKey;
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ TermView::DefaultState::KeyDown(const char* bytes, int32 numBytes)
|
|||||||
bytes = (const char*)&rawChar;
|
bytes = (const char*)&rawChar;
|
||||||
numBytes = 1;
|
numBytes = 1;
|
||||||
} else {
|
} else {
|
||||||
const int (*keymapTable)[128] =
|
const int32 (*keymapTable)[128] =
|
||||||
fView->fKeymapTableForModifiers.Get(mod);
|
fView->fKeymapTableForModifiers.Get(mod);
|
||||||
bytes = &fView->fKeymapChars[(*keymapTable)[key]];
|
bytes = &fView->fKeymapChars[(*keymapTable)[key]];
|
||||||
numBytes = *(bytes++);
|
numBytes = *(bytes++);
|
||||||
|
|||||||
Reference in New Issue
Block a user