From e51c8bdce9afdfd8d3d9cdd9ca4bca846734846d Mon Sep 17 00:00:00 2001 From: frohlich Date: Sat, 7 Mar 2009 21:48:26 +0000 Subject: [PATCH] Silence valgrind error. Modified Files: src/Main/viewer.cxx --- src/Main/viewer.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/viewer.cxx b/src/Main/viewer.cxx index af9fe455e..6499219e7 100644 --- a/src/Main/viewer.cxx +++ b/src/Main/viewer.cxx @@ -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;