summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-05-26 15:35:40 +0200
committerMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-05-26 15:40:20 +0200
commit2aae7e99d52fc488e75309909d279b459f5e1d80 (patch)
treeab4dcb928f7405b17d06fb6adc2746095e622f1f /src/scrcmd.c
parentf26daa3d6954d2db3a7c44b79d319a7a084462c2 (diff)
Make rom build again
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index f309b4f93..d24417a74 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1418,7 +1418,7 @@ bool8 ScrCmd_bufferstd(struct ScriptContext *ctx)
{
u8 stringVarIndex = ScriptReadByte(ctx);
u16 index = VarGet(ScriptReadHalfword(ctx));
- StringCopy(sScriptStringVars[stringVarIndex], gUnknown_083CE048[index]);
+ StringCopy(sScriptStringVars[stringVarIndex], gUnknown_083CE048[index].text);
return FALSE;
}