1
0
Fork 0

src/GUI/FGFontCache.cxx: fix gcc warning about initialiser.

This commit is contained in:
Julian Smith 2020-06-14 18:18:14 +01:00
parent fd30fe0e68
commit 8ae21d86dd

View file

@ -67,7 +67,7 @@ const GuiFont guifonts[] = {
{ "HELVETICA_14", &FONT_HELVETICA_14 },
{ "HELVETICA_18", &PUFONT_HELVETICA_18 },
{ "SANS_12B", &FONT_SANS_12B },
{ 0 }
{ nullptr, nullptr }
};
const GuiFont* guifontsEnd = &guifonts[sizeof(guifonts)/ sizeof(guifonts[0])-1];