From 36c8c2533e3491c55fe1635c797bc553caab3a79 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 21 Nov 2021 09:28:59 -0800 Subject: [PATCH] smyrna changetopfishfocus: remove unused 'z' parameter --- cmd/smyrna/gui/appmouse.c | 2 +- cmd/smyrna/topfisheyeview.c | 3 +-- cmd/smyrna/topfisheyeview.h | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/cmd/smyrna/gui/appmouse.c b/cmd/smyrna/gui/appmouse.c index 6c40dc896..3f8843336 100644 --- a/cmd/smyrna/gui/appmouse.c +++ b/cmd/smyrna/gui/appmouse.c @@ -65,7 +65,7 @@ static void apply_actions(ViewInfo* v,int x,int y) case MM_FISHEYE_PICK : if (view->activeGraph >= 0) { if (view->Topview->fisheyeParams.active) - changetopfishfocus(view->Topview,&view->mouse.GLpos.x,&view->mouse.GLpos.y, 0, 1); + changetopfishfocus(view->Topview, &view->mouse.GLpos.x, &view->mouse.GLpos.y, 1); } break; diff --git a/cmd/smyrna/topfisheyeview.c b/cmd/smyrna/topfisheyeview.c index 5211eee19..314c1a42c 100644 --- a/cmd/smyrna/topfisheyeview.c +++ b/cmd/smyrna/topfisheyeview.c @@ -419,8 +419,7 @@ static int get_temp_coords(topview * t, int level, int v, double *coord_x, return 1; } -void changetopfishfocus(topview * t, float *x, float *y, - float *z, int num_foci) +void changetopfishfocus(topview * t, float *x, float *y, int num_foci) { gvcolor_t cl; diff --git a/cmd/smyrna/topfisheyeview.h b/cmd/smyrna/topfisheyeview.h index 829c2806a..3e1e22c9d 100644 --- a/cmd/smyrna/topfisheyeview.h +++ b/cmd/smyrna/topfisheyeview.h @@ -14,6 +14,5 @@ #include "hier.h" void drawtopologicalfisheye(topview * t); - void changetopfishfocus(topview * t, float *x, float *y, - float *z, int num_foci); + void changetopfishfocus(topview * t, float *x, float *y, int num_foci); void prepare_topological_fisheye(Agraph_t* g,topview * t); -- 2.40.0