summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-09-02 18:35:33 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-09-02 18:35:33 -0400
commit01b88dba1f0a7f28c8d047e711affeaa14c257d4 (patch)
treec1282144a75f82e7f706265a3f276657d35174f6 /include/text.h
parent99b65c1b5e8b4f75ca50cb21ecf84b20eff944ae (diff)
sub_804A2B4; change `struct Window->config` to const
Diffstat (limited to 'include/text.h')
-rw-r--r--include/text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.h b/include/text.h
index d0c9f0d9d..6b2efc7ae 100644
--- a/include/text.h
+++ b/include/text.h
@@ -125,7 +125,7 @@ struct Window
/*0x20*/ const u8 *text;
/*0x24*/ u8 *tileData;
/*0x28*/ u16 *tilemap;
- /*0x2C*/ struct WindowConfig *config;
+ /*0x2C*/ const struct WindowConfig *config;
};
extern vu16 *const gBGControlRegs[];
@@ -246,7 +246,7 @@ u8 sub_8004DB0(struct Window *win, const u8 *text, u16 tileDataStartOffset, u8 l
u8 sub_8004E24(struct Window *win);
void sub_8004E28(struct Window *win, u8 *foreground, u8 *background, u8 *shadow);
void sub_8004E3C(struct WindowConfig *winConfig, u8 *tileData, const u8 *text);
-u8 GetStringWidthGivenWindowConfig(struct WindowConfig *winConfig, const u8 *s);
+u8 GetStringWidthGivenWindowConfig(const struct WindowConfig *winConfig, const u8 *s);
void ConvertInternationalString(u8 *s, u8 language);
void StripExtCtrlCodes(u8 *str);
s32 StringCompareWithoutExtCtrlCodes(const u8 *str1, const u8 *str2);