Index: command.c =================================================================== --- command.c (revision 4861) +++ command.c (revision 4862) @@ -78,7 +78,7 @@ static int CommandHelp(int argc, const char **argv, pcb_coord_t x, pcb_coord_t y) { - Message(PCB_MSG_DEFAULT, "following commands are supported:\n" + pcb_message(PCB_MSG_DEFAULT, "following commands are supported:\n" " Command() execute an action command (too numerous to list)\n" " see the manual for the list of action commands\n" " h display this help message\n" @@ -122,7 +122,7 @@ break; default: /* usage */ - Message(PCB_MSG_DEFAULT, "Usage: l [name]\n loads layout data\n"); + pcb_message(PCB_MSG_DEFAULT, "Usage: l [name]\n loads layout data\n"); return (1); } @@ -158,7 +158,7 @@ break; default: /* usage */ - Message(PCB_MSG_DEFAULT, pcb_false, "Usage: le [name]\n loads element data to buffer\n"); + pcb_message(PCB_MSG_DEFAULT, pcb_false, "Usage: le [name]\n loads element data to buffer\n"); return (1); } return (0); @@ -194,7 +194,7 @@ break; default: /* usage */ - Message(PCB_MSG_DEFAULT, "Usage: m [name]\n loads layout data to buffer\n"); + pcb_message(PCB_MSG_DEFAULT, "Usage: m [name]\n loads layout data to buffer\n"); return (1); } return (0); @@ -271,7 +271,7 @@ break; default: /* usage */ - Message(PCB_MSG_DEFAULT, "Usage: rn [name]\n reads in a netlist file\n"); + pcb_message(PCB_MSG_DEFAULT, "Usage: rn [name]\n reads in a netlist file\n"); return (1); } if (PCB->Netlistname) @@ -320,7 +320,7 @@ SetChangedFlag(pcb_false); } else - Message(PCB_MSG_DEFAULT, "No filename to save to yet\n"); + pcb_message(PCB_MSG_DEFAULT, "No filename to save to yet\n"); break; case 1: @@ -334,7 +334,7 @@ break; default: - Message(PCB_MSG_DEFAULT, "Usage: s [name] | w [name]\n saves layout data\n"); + pcb_message(PCB_MSG_DEFAULT, "Usage: s [name] | w [name]\n saves layout data\n"); return (1); } return (0);