summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEblo <7004497+Eblo@users.noreply.github.com>2026-06-11 09:55:08 -0400
committerGitHub <noreply@github.com>2026-06-11 09:55:08 -0400
commit3545e62e05cf08846edcba6b4446aeea90b08e2a (patch)
treed780e5a72d8536996c4476c7e96b10173ad0be59
parent6f3bff5c20209182acd8509504916302643ca168 (diff)
Fix json comment typos (#1729)
-rw-r--r--mm/2s2h/BenJsonConversions.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/2s2h/BenJsonConversions.hpp b/mm/2s2h/BenJsonConversions.hpp
index 20585eb46..f6447baea 100644
--- a/mm/2s2h/BenJsonConversions.hpp
+++ b/mm/2s2h/BenJsonConversions.hpp
@@ -170,7 +170,7 @@ inline void from_json(const json& j, ItemEquips& itemEquips) {
}
inline void to_json(json& j, const Inventory& inventory) {
- // Setup and copy u8 arrays to ainline void json treating char[] as strings
+ // Setup and copy u8 arrays to avoid json treating char[] as strings
// These char[] are not null-terminated, so saving as strings causes overflow/corruption
uint8_t dekuPlaygroundPlayerName[3][8];
memcpy(dekuPlaygroundPlayerName, inventory.dekuPlaygroundPlayerName, sizeof(dekuPlaygroundPlayerName));
@@ -226,7 +226,7 @@ inline void from_json(const json& j, PermanentSceneFlags& permanentSceneFlags) {
}
inline void to_json(json& j, const SavePlayerData& savePlayerData) {
- // Setup and copy u8 arrays to ainline void json treating char[] as strings
+ // Setup and copy u8 arrays to avoid json treating char[] as strings
// These char[] are not null-terminated, so saving as strings causes overflow/corruption
u8 newf[6];
u8 playerName[8];