Index: trunk/src/pcb-gpmi/gpmi_plugin/gpmi_pkg/hid/hid.c =================================================================== --- trunk/src/pcb-gpmi/gpmi_plugin/gpmi_pkg/hid/hid.c (revision 864) +++ trunk/src/pcb-gpmi/gpmi_plugin/gpmi_pkg/hid/hid.c (revision 865) @@ -104,10 +104,10 @@ break; case HIDA_Enum: res = hid->attr[attr_id].enumerations[v->int_value]; - printf("res='%s' %d\n", res, v->int_value); +/* printf("res='%s' %d\n", res, v->int_value);*/ break; case HIDA_Coord: - pcb_sprintf(buff, "%mi", v->coord_value); + pcb_sprintf(buff, "%mI", v->coord_value); res = buff; break; case HIDA_Unit: Index: trunk/src/pcb-printf.c =================================================================== --- trunk/src/pcb-printf.c (revision 864) +++ trunk/src/pcb-printf.c (revision 865) @@ -561,7 +561,7 @@ count = 1; switch(*fmt) { - case 'i': unit_str = CoordsToString(value, 1, spec->str, ALLOW_NM, NO_SUFFIX); break; + case 'I': unit_str = CoordsToString(value, 1, spec->str, ALLOW_NM, NO_SUFFIX); break; case 's': unit_str = CoordsToString(value, 1, spec->str, ALLOW_MM | ALLOW_MIL, suffix); break; case 'S': unit_str = CoordsToString(value, 1, spec->str, mask & ALLOW_ALL, suffix); break; case 'M': unit_str = CoordsToString(value, 1, spec->str, mask & ALLOW_METRIC, suffix); break; Index: trunk/src/pcb-printf.h =================================================================== --- trunk/src/pcb-printf.h (revision 864) +++ trunk/src/pcb-printf.h (revision 865) @@ -34,7 +34,7 @@ * it. * * The new specifiers are: - * %mi outout a raw internal coordinate without any suffix + * %mI outout a raw internal coordinate without any suffix * %mm output a measure in mm * %mM output a measure in scaled (mm/um) metric * %ml output a measure in mil