Rename char2idx to char2zchar

This commit is contained in:
Bertrand Songis
2019-02-21 10:35:48 +01:00
parent 61af68caf8
commit e4fa31be28
10 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -292,7 +292,7 @@ uint8_t getTextWidth(const char * s, uint8_t len, LcdFlags flags)
{
uint8_t width = 0;
for (int i=0; len==0 || i<len; ++i) {
unsigned char c = (flags & ZCHAR) ? idx2char(*s) : *s;
unsigned char c = (flags & ZCHAR) ? zchar2char(*s) : *s;
if (!c) {
break;
}
@@ -327,7 +327,7 @@ void lcdDrawSizedText(coord_t x, coord_t y, const char * s, uint8_t len, LcdFlag
break;
#if !defined(BOOT)
case ZCHAR:
c = idx2char(*s);
c = zchar2char(*s);
break;
#endif
default: