Skip to content

Commit

Permalink
const char *
Browse files Browse the repository at this point in the history
  • Loading branch information
robojumper committed Jun 20, 2024
1 parent b3e23c3 commit 7442d00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/d/d_font_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

static dFontMng_c l_dFontMng_obj[3];

static char *systemFonts[] = {"normal_00.brfnt", "special_00.brfnt", "picture_00.brfnt"};
static char *fonts[] = {"normal_00.brfnt", "normal_01.brfnt", "special_00.brfnt", "special_01.brfnt",
static const char *systemFonts[] = {"normal_00.brfnt", "special_00.brfnt", "picture_00.brfnt"};
static const char *fonts[] = {"normal_00.brfnt", "normal_01.brfnt", "special_00.brfnt", "special_01.brfnt",
"picture_00.brfnt"};

// TODO What's up with these?
Expand All @@ -29,7 +29,7 @@ nw4r::ut::ResFont *dFontMng_c::getFont(u8 type) {
return &l_dFontMng_obj[index].mFont;
}

char *getFontName(u8 type) {
const char *getFontName(u8 type) {
return fonts[type];
}

Expand Down

0 comments on commit 7442d00

Please sign in to comment.