From 83e4ccb65c71a2960fb159b7910ec707cec59ea4 Mon Sep 17 00:00:00 2001
From: Matthew Fernandez <matthew.fernandez@gmail.com>
Date: Sun, 18 Apr 2021 16:45:57 -0700
Subject: [PATCH] remove shadowing of view in glexpose_drawgraph

---
 cmd/smyrna/glexpose.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/cmd/smyrna/glexpose.c b/cmd/smyrna/glexpose.c
index 0d4b5a736..2ec45b2df 100644
--- a/cmd/smyrna/glexpose.c
+++ b/cmd/smyrna/glexpose.c
@@ -134,14 +134,14 @@ static void glexpose_grid(ViewInfo * vi)
 	params:ViewInfo	, global view variable defined in viewport.c
 	return value:1 if there is a graph to draw else 0 
 */
-static int glexpose_drawgraph(ViewInfo * view)
+static int glexpose_drawgraph(ViewInfo * vi)
 {
 
-    if (view->activeGraph > -1) {
-	if (!view->Topview->fisheyeParams.active)
-	    renderSmGraph(view->g[view->activeGraph],view->Topview);	    
+    if (vi->activeGraph > -1) {
+	if (!vi->Topview->fisheyeParams.active)
+	    renderSmGraph(vi->g[vi->activeGraph],vi->Topview);
 	else {
-	    drawtopologicalfisheye(view->Topview);
+	    drawtopologicalfisheye(vi->Topview);
 	}
 
 	return 1;
-- 
2.40.0