fix: B&W needs to know about spaces as well!
Finishes #645 as model notes with `_` and `0x20` (space) are tested for model notes filename also.
This commit is contained in:
committed by
Peter Feerick
parent
c088d1d2f9
commit
7800a6de42
+4
-4
@@ -1072,12 +1072,12 @@ char * strcat_zchar(char *dest, const char *name, uint8_t size, const char space
|
||||
|
||||
#if !defined(STORAGE_MODELSLIST)
|
||||
|
||||
#define strcat_modelname(dest, idx) \
|
||||
strcat_zchar(dest, modelHeaders[idx].name, LEN_MODEL_NAME, 0, STR_MODEL, \
|
||||
#define strcat_modelname(dest, idx, spaceSym) \
|
||||
strcat_zchar(dest, modelHeaders[idx].name, LEN_MODEL_NAME, spaceSym, STR_MODEL, \
|
||||
PSIZE(TR_MODEL), idx + 1)
|
||||
|
||||
#define strcat_currentmodelname(dest, foo) \
|
||||
strcat_modelname(dest, g_eeGeneral.currModel)
|
||||
#define strcat_currentmodelname(dest, spaceSym) \
|
||||
strcat_modelname(dest, g_eeGeneral.currModel, spaceSym)
|
||||
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user