]> git.mxchange.org Git - flightgear.git/commitdiff
Silence valgrind error.
authorfrohlich <frohlich>
Sat, 7 Mar 2009 21:48:26 +0000 (21:48 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 11 Mar 2009 22:14:34 +0000 (23:14 +0100)
Modified Files:
src/Main/viewer.cxx

src/Main/viewer.cxx

index af9fe455ee859d9a2a5e92159e42d1abee5191db..6499219e7d3aec32048ab23a0eaba8264069f0d3 100644 (file)
@@ -113,6 +113,7 @@ FGViewer::FGViewer( fgViewType Type, bool from_model, int from_model_index,
     } else {
       _fov_deg = 55;
     }
+    _aspect_ratio = 1;
     _aspect_ratio_multiplier = aspect_ratio_multiplier;
     _target_offset_m.x() = target_x_offset_m;
     _target_offset_m.y() = target_y_offset_m;