change name of default entry

This commit is contained in:
gymnast86
2026-07-22 04:23:07 -07:00
parent 1643474573
commit d12cf18ce1
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ public:
#if TARGET_PC
// Default attributes for custom text ids
static JMSMesgEntry_c defaultEntry{
static JMSMesgEntry_c defaultJMSMesgEntry{
.string_offset = 0,
.message_id = 0,
.event_label_id = 0,
+2 -2
View File
@@ -72,8 +72,8 @@ JMSMesgEntry_c& JMSMesgInfo_c::getEntry(u16 index) {
}
// If we didn't specify attributes for the custom index, use the default
defaultEntry.message_id = index;
return defaultEntry;
defaultJMSMesgEntry.message_id = index;
return defaultJMSMesgEntry;
}
#endif
+2 -2
View File
@@ -93,8 +93,8 @@ bool HandleCustomText(JMessage::TControl* control, u16 msgId) {
control->pEntry_ = reinterpret_cast<void*>(&attributeOverrides[key]);
// Otherwise, use the default entry
} else {
defaultEntry.message_id = msgId;
control->pEntry_ = &defaultEntry;
defaultJMSMesgEntry.message_id = msgId;
control->pEntry_ = &defaultJMSMesgEntry;
}
return true;
}