code spell checking - part4 (MM specific)

This commit is contained in:
Frank
2023-12-15 00:14:57 +01:00
parent 9024872f63
commit 8905992a89
35 changed files with 86 additions and 86 deletions

View File

@@ -149,13 +149,13 @@ bool oappend(const char* txt)
{
uint16_t len = strlen(txt);
if ((obuf == nullptr) || (olen + len >= SETTINGS_STACK_BUF_SIZE)) { // sanity checks
if (obuf == nullptr) { USER_PRINTLN(F("oappend() error: obuf == nullptr."));
} else {
USER_PRINT(F("oappend() error: buffer full. Increase SETTINGS_STACK_BUF_SIZE for "));
if (obuf == nullptr) { USER_PRINTLN(F("oappend() error: obuf == nullptr."));
} else {
USER_PRINT(F("oappend() error: buffer full. Increase SETTINGS_STACK_BUF_SIZE for "));
USER_PRINTF("%2u bytes \t\"", len /*1 + olen + len - SETTINGS_STACK_BUF_SIZE*/);
USER_PRINT(txt);
USER_PRINTLN(F("\""));
}
}
return false; // buffer full
}
strcpy(obuf + olen, txt);