diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-05 14:42:40 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-05 14:42:40 +0300 |
commit | 2e030000d14a03a76a1eaa716483f8b57fcdc0af (patch) | |
tree | 36d280c376756676449ebc992abd092af148d21b /source/creator | |
parent | f975d297041bc1f60ba415e811564f7b2297c4a8 (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.c | 4 |
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': |