Fix more warnings. (#3101)

* Fix warnings

* Submodule
This commit is contained in:
louist103
2023-08-30 10:02:07 -07:00
committed by GitHub
parent 738172d9ed
commit 4aadf4c14c
10 changed files with 49 additions and 49 deletions

View File

@@ -1094,7 +1094,7 @@ void DrawFlagsTab() {
if (ImGui::TreeNode(flagTable.name)) {
for (int j = 0; j < flagTable.size + 1; j++) {
DrawGroupWithBorder([&]() {
ImGui::Text(fmt::format("{:<2x}", j).c_str());
ImGui::Text("%s", fmt::format("{:<2x}", j).c_str());
switch (flagTable.flagTableType) {
case EVENT_CHECK_INF:
DrawFlagTableArray16(flagTable, j, gSaveContext.eventChkInf[j]);