Libms matching:

Thanks Troy from gc/wii decomp server
Reference:  https://github.com/Trippixyz/LibMessageStudio/blob/ceb14124dbf037627a3c40e2bb9c87725baf3cbb/src/libms.c
This commit is contained in:
elijah-thomas774
2025-11-22 20:49:58 -05:00
parent e9396ddd50
commit 2b0e4985ff
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -38,8 +38,8 @@ int LMS_GetTextIndexByLabel(struct MsbtInfo *info, const char *label) {
int entryLen;
int sectionIndex;
int labelLen;
sectionIndex = info->lbl1Index;
sectionIndex = info->lbl1Index;
labelLen = 0;
if (info->lbl1Index == -1) {
return LMS_MISSING_LBL1_DATA;
@@ -73,7 +73,7 @@ const wchar_t *LMS_GetText(struct MsbtInfo *info, int index) {
return NULL;
}
return LMS_OFS_TO_PTR(const wchar_t , header, header[index + 1]);
return LMS_OFS_TO_PTR(const wchar_t, header, header[index + 1]);
}
const wchar_t *LMS_GetTextByLabel(struct MsbtInfo *info, const char *label) {