aboutsummaryrefslogtreecommitdiff
path: root/utils/adlmidi-2/9x15.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2017-12-09 23:36:27 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2017-12-09 23:36:27 +0300
commitb5be0ef0b188ab5afeef825d80a0b00bfff30023 (patch)
tree944e856124551c83e39fb8b520da0cb4063c763f /utils/adlmidi-2/9x15.hpp
parent3f8560af1584965706e2b4ec5614212f5653f34c (diff)
parent58dd9b34bff3110392a05e952885057433b60559 (diff)
downloadlibADLMIDI-b5be0ef0b188ab5afeef825d80a0b00bfff30023.tar.gz
libADLMIDI-b5be0ef0b188ab5afeef825d80a0b00bfff30023.tar.bz2
libADLMIDI-b5be0ef0b188ab5afeef825d80a0b00bfff30023.zip
Merge branch 'master' into get-rid-of-backup-buffer
# Conflicts: # src/adlmidi.cpp
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); }