From 1e52702f0a202a0a8cd2161be968fcd1e788db51 Mon Sep 17 00:00:00 2001 From: harukalover Date: Wed, 20 May 2009 18:29:01 +0000 Subject: [PATCH] Initialized a variable that was being used before it was assigned an initial value Originally committed to SVN as r2954. --- aegisub/src/gl_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/gl_text.cpp b/aegisub/src/gl_text.cpp index 22575ed54..4daceb690 100644 --- a/aegisub/src/gl_text.cpp +++ b/aegisub/src/gl_text.cpp @@ -244,7 +244,7 @@ OpenGLTextGlyph OpenGLText::CreateGlyph(int n) { // Texture constructor OpenGLTextTexture::OpenGLTextTexture(int w,int h) { // Properties - x = y = 0; + x = y = nextY = 0; width = SmallestPowerOf2(w); height = SmallestPowerOf2(h); tex = 0;