]> granicus.if.org Git - graphviz/commitdiff
smyrna toolboxcallbacks: remove excess white space
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 22 Jul 2022 01:18:00 +0000 (18:18 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 27 Jul 2022 14:27:00 +0000 (07:27 -0700)
cmd/smyrna/gui/toolboxcallbacks.c

index e63f1f7ac3bd1f073bd924d2e637fc8c5d87a7f0..5ddaf1b22d14c407ece9fc760ff337f63799e2df 100644 (file)
 #include <glcomp/glutils.h>
 #include "glmotion.h"
 
-
-
-
-
 void btnToolZoomOut_clicked(GtkWidget * widget, gpointer user_data)
 {
     (void)widget;
@@ -70,16 +66,10 @@ void btnToolFit_clicked(GtkWidget * widget, gpointer user_data)
 
     float scx, scy, gcx, gcy, z;
 
-
-
     (view->active_camera >= 0)
        ? (z = view->cameras[view->active_camera]->r) : (z =
                                                         view->zoom * -1);
 
-
-
-
-
     gcx =
        view->bdxLeft / z + (view->bdxRight / z -
                             view->bdxLeft / z) / (float) (2.0);
@@ -89,10 +79,7 @@ void btnToolFit_clicked(GtkWidget * widget, gpointer user_data)
                               view->bdyBottom / z) / (float) (2.0);
     scy = view->clipY1 + (view->clipY2 - view->clipY1) / (float) (2.0);
 
-
-
     if (view->active_camera >= 0) {
-
        view->cameras[view->active_camera]->targetx += (gcx - scx);
        view->cameras[view->active_camera]->targety += (gcx - scy);
     } else {