diff options
Diffstat (limited to 'scumm/smush/frenderer.cpp')
-rw-r--r-- | scumm/smush/frenderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/smush/frenderer.cpp b/scumm/smush/frenderer.cpp index 741e853087..92044b056a 100644 --- a/scumm/smush/frenderer.cpp +++ b/scumm/smush/frenderer.cpp @@ -173,6 +173,7 @@ bool FontRenderer::drawStringCentered(const char * str, char * buffer, const Poi int * substr_widths = new int[nb_sub]; int space_width = charWidth(' '); + i = 0; while(i < nb_sub) { int substr_width = sizes[i]; char * substr = new char[1000]; |