Oops, fix compilation issue in my latest commit

This commit is contained in:
rdb 2009-12-17 18:11:31 +00:00
parent 161c92ba7a
commit 2e41525198

View File

@ -786,6 +786,9 @@ open_graphic_window(bool fullscreen) {
_properties.set_size(640, 480);
}
int x_size = _properties.get_x_size();
int y_size = _properties.get_y_size();
int x_origin = 0;
int y_origin = 0;
if (!fullscreen && _properties.has_origin()) {
@ -808,9 +811,6 @@ open_graphic_window(bool fullscreen) {
}
}
int x_size = _properties.get_x_size();
int y_size = _properties.get_y_size();
int clientAreaWidth = x_size;
int clientAreaHeight = y_size;