From ea28a7b35dc6e30683fcd7c02001afce120f987e Mon Sep 17 00:00:00 2001 From: Chayan Deb Date: Sun, 16 Mar 2025 23:06:26 +0530 Subject: [PATCH] Minor changes to normalize the fork's codebase with official upstream repo. --- src/callback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callback.c b/src/callback.c index cc43b616..9d83f5d7 100644 --- a/src/callback.c +++ b/src/callback.c @@ -258,7 +258,7 @@ void start_wire(double mx, double my) xctx->my_double_save=my; } new_wire(PLACE,mx, my); - if(tclgetboolvar("orthogonal_wiring") && !tclgetboolvar("constr_mv")){ + if(tclgetboolvar("orthogonal_wiring") && !tclgetboolvar("constr_mv")) { xctx->constr_mv = 0; } } @@ -4132,9 +4132,9 @@ static void handle_key_press(int event, KeySym key, int state, int rstate, int m static void handle_button_press(int event, int state, int rstate, KeySym key, int button, int mx, int my, double c_snap, int draw_xhair, int crosshair_size, int enable_stretch, int aux) { - dbg(1, "callback(): ButtonPress ui_state=%d state=%d\n",xctx->ui_state,state); int use_cursor_for_sel = tclgetintvar("use_cursor_for_selection"); int excl = xctx->ui_state & (STARTWIRE | STARTRECT | STARTLINE | STARTPOLYGON | STARTARC); + dbg(1, "callback(): ButtonPress ui_state=%d state=%d\n",xctx->ui_state,state); if(waves_selected(event, key, state, button)) { waves_callback(event, mx, my, key, button, aux, state); return;