diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 02:00:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 02:00:55 +0400 |
commit | 7f34653f59ad3f7bed75eb9a36aa6ed928eef181 (patch) | |
tree | 999e7d6a234780e854bcdc20f440a9b7f1ec13b5 /source/blender/editors/space_view3d/view3d_fly.c | |
parent | 67f1e83508ac1312b6b41093cb1946363ce3d0fd (diff) |
style cleanup: + some warning fixes, also remove unused metaelem extern.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_fly.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_fly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c index 614fa45771d..53b64b971aa 100644 --- a/source/blender/editors/space_view3d/view3d_fly.c +++ b/source/blender/editors/space_view3d/view3d_fly.c @@ -185,7 +185,7 @@ typedef struct FlyInfo { * 0) disabled * 1) enabled but not checking because mouse hasn't moved outside the margin since locking was checked an not needed * when the mouse moves, locking is set to 2 so checks are done. - * 2) mouse moved and checking needed, if no view altering is donem its changed back to 1 */ + * 2) mouse moved and checking needed, if no view altering is done its changed back to 1 */ short xlock, zlock; float xlock_momentum, zlock_momentum; /* nicer dynamics */ float grid; /* world scale 1.0 default */ @@ -525,7 +525,7 @@ static void flyEvent(FlyInfo *fly, wmEvent *event) fly->time_lastdraw = PIL_check_seconds_timer(); break; default: - ; // should always be one of the above 3 + break; /* should always be one of the above 3 */ } } /* handle modal keymap first */ |