]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Graphic/Text.cpp
Update copyright year to 2017
[lugaru.git] / Source / Graphic / Text.cpp
index a5b60b8701bc6b50182a397a12be917a33c79d30..b7ec4e5743f71df74b177bc5113cddaf8ad13570 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -69,12 +69,13 @@ void Text::BuildFont() // Build Our Font Display List
         glTexCoord2f(cx, 1 - cy - +.001);                    // Texture Coord (Top Left)
         glVertex2i(0, 16);                                   // Vertex Coord (Top Left)
         glEnd();                                             // Done Building Our Quad (Character)
-        if (loop < 256)
+        if (loop < 256) {
             glTranslated(10, 0, 0); // Move To The Right Of The Character
-        else
+        } else {
             glTranslated(8, 0, 0); // Move To The Right Of The Character
-        glEndList();               // Done Building The Display List
-    }                              // Loop Until All 256 Are Built
+        }
+        glEndList(); // Done Building The Display List
+    }                // Loop Until All 256 Are Built
 }
 
 void Text::_glPrint(float x, float y, const std::string& string, int set, float size, float width, float height, int start, int end, int offset) // Where The Printing Happens