diff --git a/es-app/src/guis/GuiMetaDataEd.cpp b/es-app/src/guis/GuiMetaDataEd.cpp index 870bc08bb..07af8291d 100644 --- a/es-app/src/guis/GuiMetaDataEd.cpp +++ b/es-app/src/guis/GuiMetaDataEd.cpp @@ -356,7 +356,7 @@ void GuiMetaDataEd::onSizeChanged() TITLE_VERT_PADDING) / mSize.y()); mGrid.setRowHeightPerc(2, mButtons->getSize().y() / mSize.y()); - // Clamp list size to the row height to prevent a fraction of a row from being displayed. + // Snap list size to the row height to prevent a fraction of a row from being displayed. float listHeight = 0; float listSize = mList->getSize().y(); int i = 0; diff --git a/es-core/src/resources/Font.h b/es-core/src/resources/Font.h index 792bc020e..15365cbcb 100644 --- a/es-core/src/resources/Font.h +++ b/es-core/src/resources/Font.h @@ -143,7 +143,7 @@ private: void getTextureForNewGlyph(const Vector2i& glyphSize, FontTexture*& tex_out, Vector2i& cursor_out); - std::map< unsigned int, std::unique_ptr<FontFace> > mFaceCache; + std::map<unsigned int, std::unique_ptr<FontFace>> mFaceCache; FT_Face getFaceForChar(unsigned int id); void clearFaceCache();