Index: plug_import.c =================================================================== --- plug_import.c (revision 4861) +++ plug_import.c (revision 4862) @@ -89,7 +89,7 @@ FILE *fp; if (!filename) { - Message(PCB_MSG_DEFAULT, "Error: need a file name for ImportNetlist()\n"); + pcb_message(PCB_MSG_DEFAULT, "Error: need a file name for ImportNetlist()\n"); return (1); /* nothing to do */ } fp = fopen(filename, "r"); @@ -97,11 +97,11 @@ plug = find_importer(aspect, fp, filename); if (plug == NULL) { if (fp != NULL) { - Message(PCB_MSG_DEFAULT, "Error: can't find a suitable netlist parser for %s\n", filename); + pcb_message(PCB_MSG_DEFAULT, "Error: can't find a suitable netlist parser for %s\n", filename); fclose(fp); } else - Message(PCB_MSG_DEFAULT, "Error: can't find a suitable netlist parser for %s - might be related: can't open %s for reading\n", filename, filename); + pcb_message(PCB_MSG_DEFAULT, "Error: can't find a suitable netlist parser for %s - might be related: can't open %s for reading\n", filename, filename); return 1; }