diff src/graphics.cc @ 15017:dd4ad69e4ab9

maint: Fix a few Octave coding convention violations. * gzip.m, findfigs.m, hdl2struct.m: Use parentheses around if block test. * graphics.cc, ov-class.cc: Use space after if and before first parenthesis
author Rik <rik@octave.org>
date Wed, 25 Jul 2012 20:58:21 -0700
parents f7afecdd87ef
children 7a3957ca99c3
line wrap: on
line diff
--- a/src/graphics.cc	Wed Jul 25 21:12:47 2012 -0500
+++ b/src/graphics.cc	Wed Jul 25 20:58:21 2012 -0700
@@ -6833,9 +6833,9 @@
 
   v(1) += delta_el;
 
-  if(v(1) > 90)
+  if (v(1) > 90)
     v(1) = 90;
-  if(v(1) < -90)
+  if (v(1) < -90)
     v(1) = -90;
 
   v(0) = fmod (v(0) - delta_az + 720,360);