Index: autoplace.c =================================================================== --- autoplace.c (revision 30954) +++ autoplace.c (revision 30955) @@ -174,7 +174,7 @@ return layer->meta.real.grp; return SLayer; /* any layer will do */ default: - rnd_message(PCB_MSG_ERROR, "Odd terminal type encountered in obj_layergrp()\n"); + rnd_message(RND_MSG_ERROR, "Odd terminal type encountered in obj_layergrp()\n"); } return -1; } @@ -742,7 +742,7 @@ Selected = collectSelectedSubcircuits(); if (vtp0_len(&Selected) == 0) { - rnd_message(PCB_MSG_ERROR, "No subcircuits selected to autoplace.\n"); + rnd_message(RND_MSG_ERROR, "No subcircuits selected to autoplace.\n"); goto done; }