Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-05 14:42:40 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-05 14:42:40 +0300
commit2e030000d14a03a76a1eaa716483f8b57fcdc0af (patch)
tree36d280c376756676449ebc992abd092af148d21b /source/creator
parentf975d297041bc1f60ba415e811564f7b2297c4a8 (diff)
Bugfix: recent command line changes broke running with ./blender -w,
was using uninitialized variables.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index a23a59ccba0..7b2651ba10a 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -442,6 +442,10 @@ int main(int argc, char **argv)
break;
case 'w':
+ winlay_get_screensize(&sizx, &sizy);
+ stax=0;
+ stay=0;
+
G.windowstate = G_WINDOWSTATE_BORDER;
break;
case 'W':