indentation and spacing in callback.c
This commit is contained in:
parent
1e23beabd3
commit
ffe0aba12e
|
|
@ -249,10 +249,9 @@ static void start_wire(double mx, double my)
|
||||||
xctx->my_double_save=my;
|
xctx->my_double_save=my;
|
||||||
}
|
}
|
||||||
new_wire(PLACE,mx, my);
|
new_wire(PLACE,mx, my);
|
||||||
if(tclgetboolvar("orthogonal_wiring") && !tclgetboolvar("constr_mv")){
|
if(tclgetboolvar("orthogonal_wiring") && !tclgetboolvar("constr_mv")) {
|
||||||
xctx->constr_mv = 0;
|
xctx->constr_mv = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static double interpolate_yval(int idx, int p, double x, int sweep_idx, int point_not_last)
|
static double interpolate_yval(int idx, int p, double x, int sweep_idx, int point_not_last)
|
||||||
|
|
@ -1592,9 +1591,7 @@ void draw_snap_cursor(int action) {
|
||||||
xctx->prev_snapx = new_x;
|
xctx->prev_snapx = new_x;
|
||||||
xctx->prev_snapy = new_y;
|
xctx->prev_snapy = new_y;
|
||||||
}
|
}
|
||||||
|
|
||||||
draw_selection(xctx->gc[SELLAYER], 0);
|
draw_selection(xctx->gc[SELLAYER], 0);
|
||||||
|
|
||||||
/* Restore previous drawing context */
|
/* Restore previous drawing context */
|
||||||
xctx->draw_window = prev_draw_window;
|
xctx->draw_window = prev_draw_window;
|
||||||
xctx->draw_pixmap = prev_draw_pixmap;
|
xctx->draw_pixmap = prev_draw_pixmap;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue