aboutsummaryrefslogtreecommitdiff
path: root/utils/adlmidi-2/9x15.hpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-12-09 18:10:22 +0300
committerWohlstand <admin@wohlnet.ru>2017-12-09 18:10:22 +0300
commit845e44ab42305dda56f7ec22b12171adc890e454 (patch)
treeb80895f63bd7b56b16bacde597edf24b66988410 /utils/adlmidi-2/9x15.hpp
parent8c119d3b710077d67049ee00c9a4ea9b2796623d (diff)
downloadlibADLMIDI-845e44ab42305dda56f7ec22b12171adc890e454.tar.gz
libADLMIDI-845e44ab42305dda56f7ec22b12171adc890e454.tar.bz2
libADLMIDI-845e44ab42305dda56f7ec22b12171adc890e454.zip
ADLMIDI2: Fixed macOS build
Diffstat (limited to 'utils/adlmidi-2/9x15.hpp')
-rw-r--r--utils/adlmidi-2/9x15.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/adlmidi-2/9x15.hpp b/utils/adlmidi-2/9x15.hpp
index 0461a6f..9812951 100644
--- a/utils/adlmidi-2/9x15.hpp
+++ b/utils/adlmidi-2/9x15.hpp
@@ -131,17 +131,17 @@ static const unsigned char bitmap[3840] = {
};
static const struct unicode_to_bitmap_index_generator
{
- static uint_least8_t Help(uint_least8_t index, bool InRecursion)
+ static uint_least8_t Help(uint8_t index, bool InRecursion)
{
return InRecursion ? (index & 0xFF) : Find(UnicodeToASCIIapproximation(index)&0xFF,
true);
}
- static uint_least8_t Find(uint_least8_t index, bool InRecursion)
+ static uint_least8_t Find(uint8_t index, bool InRecursion)
{
return
(index < 160)
? ((index < 127) ? index - 0 : Help(index,InRecursion))
- : ((index < 256) ? index - 33 : Help(index,InRecursion))
+ : /*((index < 256) ?*/ index - 33 /*: Help(index,InRecursion))*/
;
}
uint_least8_t operator[] (uint_least8_t index) const { return Find(index, false); }