summaryrefslogtreecommitdiff
path: root/src/serialization-font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialization-font.cpp')
-rw-r--r--src/serialization-font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization-font.cpp b/src/serialization-font.cpp
index f2fb24b..328aa94 100644
--- a/src/serialization-font.cpp
+++ b/src/serialization-font.cpp
@@ -41,7 +41,7 @@ pk_handle pke_serialize_font_render(srlztn_serialize_helper *h, FontRender *fr)
}
{
kve.key = SRLZTN_UI_FONT_RENDER_FONT_TYPE_TITLE;
- FontType *ft = FontType_Get(fr->fr_handle.index_ft);
+ FontType *ft = FontType_Get(fr->index_ft);
len = snprintf(nullptr, 0, "%s", ft->title.val);
s = pk_new_arr<char>(len+1, h->bkt);
sprintf(s, "%s", ft->title.val);