Fix sprintfOverlappingData issue

This commit is contained in:
Jason P
2025-10-22 15:21:46 -05:00
parent c9aeafd227
commit ec04aa0a89

View File

@@ -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);
} }
} }
} }