mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-14 06:42:34 +00:00
Fix sprintfOverlappingData issue
This commit is contained in:
@@ -1721,8 +1721,6 @@ void CannedMessageModule::drawDestinationSelectionScreen(OLEDDisplay *display, O
|
|||||||
if (node) {
|
if (node) {
|
||||||
if (display->getWidth() <= 64) {
|
if (display->getWidth() <= 64) {
|
||||||
snprintf(entryText, sizeof(entryText), "%s", node->user.short_name);
|
snprintf(entryText, sizeof(entryText), "%s", node->user.short_name);
|
||||||
} else {
|
|
||||||
snprintf(entryText, sizeof(entryText), "%s", entryText);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user