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