From 79d9150f658d4c6d54775f9e5cf3f18f45357eb4 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Sun, 14 Mar 2021 09:36:50 +0100
Subject: [PATCH] Very minor code cleanup.

---
 es-app/src/guis/GuiMetaDataEd.cpp | 2 +-
 es-core/src/resources/Font.h      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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();