Index: tool_logic.c =================================================================== --- tool_logic.c (revision 30954) +++ tool_logic.c (revision 30955) @@ -55,7 +55,7 @@ int id = argv[2].d.i; pcb_board_t *pcb = (pcb_board_t *)hidlib; if (pcb->RatDraw && !(pcb_tool_get(id)->user_flags & PCB_TLF_RAT)) { - rnd_message(PCB_MSG_WARNING, "That tool can not be used on the rat layer!\n"); + rnd_message(RND_MSG_WARNING, "That tool can not be used on the rat layer!\n"); *ok = 0; } }