aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-08-09 02:04:42 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-08-09 02:04:42 -0500
commit10797d85d3d16a4b2d35c43ea1d79a32e4faa435 (patch)
tree80d800844bbd0ed2d342992497b7ea2b7cadda12
parentab792424b6b68676891c7a8260c8f595e863cde1 (diff)
fixed TextBox alignment
Diffstat (limited to '')
-rw-r--r--brlyt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/brlyt.c b/brlyt.c
index 1d76881..694e8f9 100644
--- a/brlyt.c
+++ b/brlyt.c
@@ -2094,12 +2094,12 @@ void WriteBRLYTEntry(mxml_node_t *tree, mxml_node_t *node, u8** tagblob, u32* bl
get_value(valnode, tempCoord, 256);
chunk2.line_space = float_swap_bytes(atof(tempCoord));
}
- valnode = mxmlFindElement(subnode, subnode, "unk", NULL, NULL, MXML_DESCEND);
+ valnode = mxmlFindElement(subnode, subnode, "alignment", NULL, NULL, MXML_DESCEND);
if (valnode != NULL)
{
char tempCoord[256];
get_value(valnode, tempCoord, 256);
- chunk2.unk4 = strtol(tempCoord, NULL, 16);
+ chunk2.alignment = strtol(tempCoord, NULL, 16);
}
}