initialize not initialized var

This commit is contained in:
satbaby
2012-11-05 09:24:51 +01:00
parent 5e284c68c3
commit 926e0ce141
12 changed files with 53 additions and 7 deletions

View File

@@ -49,6 +49,10 @@ CProgressWindow::CProgressWindow()
global_progress = local_progress = 101;
statusText = "";
globalstatusX = 0;
globalstatusY = 0;
localstatusY = 0;
statusTextY = 0;
x = frameBuffer->getScreenX() + ((frameBuffer->getScreenWidth() - width ) >> 1 );
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >>1 );