changeset 26529:33590cce7019 stable

graphics.cc: Fix typo uncovered by clang static analyzer (bug #55440). * graphics.cc (axes::properties::update_looseinset): Fix typo.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 12 Jan 2019 16:23:18 +0100
parents 9a91f675fd5f
children dc02f20df07d
files libinterp/corefcn/graphics.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc	Sat Jan 12 15:49:49 2019 +0100
+++ b/libinterp/corefcn/graphics.cc	Sat Jan 12 16:23:18 2019 +0100
@@ -7378,7 +7378,7 @@
       double outer_top = inner_top + top_margin;
 
       double outer_width = outer_right - outer_left;
-      double outer_height = outer_top = outer_bottom;
+      double outer_height = outer_top - outer_bottom;
 
       Matrix outerbox (1, 4);