diff --git a/src/actions.c b/src/actions.c index f7b248e4..9830d13b 100644 --- a/src/actions.c +++ b/src/actions.c @@ -925,7 +925,7 @@ int place_symbol(int pos, const char *symbol_name, double x, double y, int rot, n=pos; } /* 03-02-2000 */ - dbg(1, "place_symbol(): checked inst_ptr storage, xctx.sym number i=%d\n", i); + dbg(1, "place_symbol(): checked inst_ptr storage, sym number i=%d\n", i); xctx.inst[n].ptr = i; xctx.inst[n].name=NULL; xctx.inst[n].instname=NULL; @@ -1194,7 +1194,7 @@ void descend_schematic(int instnumber) prepare_netlist_structs(0); if(enable_drill) drill_hilight(); } - dbg(1, "descend_schematic(): before xctx.zoom(): prepared_hash_instances=%d\n", prepared_hash_instances); + dbg(1, "descend_schematic(): before zoom(): prepared_hash_instances=%d\n", prepared_hash_instances); zoom_full(1, 0); } } @@ -1545,7 +1545,7 @@ void zoom_box(int what) xctx.mooz=1/xctx.zoom; change_linewidth(-1.); draw(); - dbg(1, "zoom_box(): coord: %.16g %.16g %.16g %.16g xctx.zoom=%.16g\n",x1,y1,mousex_snap, mousey_snap,xctx.zoom); + dbg(1, "zoom_box(): coord: %.16g %.16g %.16g %.16g zoom=%.16g\n",x1,y1,mousex_snap, mousey_snap,xctx.zoom); } if(what & RUBBER) { diff --git a/src/draw.c b/src/draw.c index 73dc385b..0228f124 100644 --- a/src/draw.c +++ b/src/draw.c @@ -405,7 +405,7 @@ void draw_string(int layer, int what, const char *str, int rot, int flip, int hc if(str==NULL || !has_x ) return; dbg(2, "draw_string(): string=%s\n",str); if(xscale*FONTWIDTH*xctx.mooz<1) { - dbg(1, "draw_string(): xscale=%.16g xctx.zoom=%.16g \n",xscale,xctx.zoom); + dbg(1, "draw_string(): xscale=%.16g zoom=%.16g \n",xscale,xctx.zoom); return; } else { diff --git a/src/editprop.c b/src/editprop.c index 541d7362..252ae7e5 100644 --- a/src/editprop.c +++ b/src/editprop.c @@ -1082,7 +1082,7 @@ void update_symbol(const char *result, int x) else name[1]=prefix; /* change prefix if changing symbol type; */ } - dbg(1, "update_symbol(): name=%s, xctx.inst[i].prop_ptr=%s\n", name, xctx.inst[i].prop_ptr); + dbg(1, "update_symbol(): name=%s, inst[i].prop_ptr=%s\n", name, xctx.inst[i].prop_ptr); my_strdup(89, &ptr,subst_token(xctx.inst[i].prop_ptr, "name", name) ); /* set name of current inst */ diff --git a/src/findnet.c b/src/findnet.c index 1ac9ce0c..38e7eb55 100644 --- a/src/findnet.c +++ b/src/findnet.c @@ -256,7 +256,7 @@ void find_closest_element(double mx,double my) { r = i; distance = tmp*0.1; } - dbg(2, "find_closest_element(): finding closest element, xctx.instances=%d, dist=%.16g\n",i,tmp); + dbg(2, "find_closest_element(): finding closest element, instances=%d, dist=%.16g\n",i,tmp); } } /* end for i */ if( r!=-1 ) @@ -291,7 +291,7 @@ void find_closest_text(double mx,double my) if(POINTINSIDE(mx,my,xx1,yy1, xx2, yy2)) { r = i; distance = 0; - dbg(2, "find_closest_text(): finding closest text, xctx.texts=%d, dist=%.16g\n",i,distance); + dbg(2, "find_closest_text(): finding closest text, texts=%d, dist=%.16g\n",i,distance); } } /* end for i */ if( distance <= threshold && r!=-1) diff --git a/src/hash_iterator.c b/src/hash_iterator.c index 05936667..21a12e51 100644 --- a/src/hash_iterator.c +++ b/src/hash_iterator.c @@ -33,7 +33,7 @@ static unsigned short *wireflag=NULL; void init_inst_iterator(double x1, double y1, double x2, double y2) { - dbg(3, "init_inst_iterator(): xctx.instances=%d\n", xctx.instances); + dbg(3, "init_inst_iterator(): instances=%d\n", xctx.instances); my_realloc(135, &instflag, xctx.instances*sizeof(unsigned short)); memset(instflag, 0, xctx.instances*sizeof(unsigned short)); /* calculate square 4 1st corner of drawing area */ @@ -58,7 +58,7 @@ void init_inst_iterator(double x1, double y1, double x2, double y2) struct instentry *inst_iterator_next() { struct instentry *ptr; - dbg(3, "inst_iterator_next(): xctx.instances=%d\n", xctx.instances); + dbg(3, "inst_iterator_next(): instances=%d\n", xctx.instances); while(1) { while(instanceptr) { ptr = instanceptr; @@ -91,7 +91,7 @@ struct instentry *inst_iterator_next() void init_wire_iterator(double x1, double y1, double x2, double y2) { - dbg(3, "init_wire_iterator(): xctx.wires=%d\n", xctx.wires); + dbg(3, "init_wire_iterator(): wires=%d\n", xctx.wires); my_realloc(136, &wireflag, xctx.wires*sizeof(unsigned short)); memset(wireflag, 0, xctx.wires*sizeof(unsigned short)); /* calculate square 4 1st corner of drawing area */ @@ -116,7 +116,7 @@ void init_wire_iterator(double x1, double y1, double x2, double y2) struct wireentry *wire_iterator_next() { struct wireentry *ptr; - dbg(3, "wire_iterator_next(): xctx.wires=%d\n", xctx.wires); + dbg(3, "wire_iterator_next(): wires=%d\n", xctx.wires); while(1) { while(wireptr) { ptr = wireptr; diff --git a/src/hilight.c b/src/hilight.c index 90c6f1b3..418d2cf7 100644 --- a/src/hilight.c +++ b/src/hilight.c @@ -315,7 +315,7 @@ void hilight_parent_pins(void) prepare_netlist_structs(0); i=xctx.previous_instance[xctx.currsch]; inst_number = xctx.sch_inst_number[xctx.currsch+1]; - dbg(1, "hilight_parent_pins(): xctx.previous_instance=%d\n", xctx.previous_instance[xctx.currsch]); + dbg(1, "hilight_parent_pins(): previous_instance=%d\n", xctx.previous_instance[xctx.currsch]); dbg(1, "hilight_parent_pins(): inst_number=%d\n", inst_number); rects = (xctx.inst[i].ptr+ xctx.sym)->rects[PINLAYER]; diff --git a/src/save.c b/src/save.c index d7960276..9ed12e63 100644 --- a/src/save.c +++ b/src/save.c @@ -799,8 +799,8 @@ void read_xschem_file(FILE *fd) found=0; for(i=0;i= xctx.maxs) { - dbg(1, "check_symbol_storage(): more than xctx.maxs, %s\n", + dbg(1, "check_symbol_storage(): more than maxs, %s\n", xctx.sch[xctx.currsch] ); xctx.maxs=(1 + xctx.symbols / ELEMDEF) * ELEMDEF; my_realloc(395, &xctx.sym, sizeof(xSymbol)*xctx.maxs); diff --git a/src/token.c b/src/token.c index b099748e..d82f1273 100644 --- a/src/token.c +++ b/src/token.c @@ -257,7 +257,7 @@ int match_symbol(const char *name) /* never returns -1, if symbol not found loa found=0; for(i=0;i