Index: trunk/src/compat_fs.c =================================================================== --- trunk/src/compat_fs.c (revision 5667) +++ trunk/src/compat_fs.c (revision 5668) @@ -111,7 +111,7 @@ pid = fork(); if (pid < 0) { /* error */ - pcb_message(PCB_MSG_DEFAULT, _("Cannot fork!")); + pcb_message(PCB_MSG_ERROR, _("Cannot fork!")); return 1; } else if (pid == 0) { Index: trunk/src/layer.c =================================================================== --- trunk/src/layer.c (revision 5667) +++ trunk/src/layer.c (revision 5668) @@ -827,11 +827,11 @@ pcb_undo_inc_serial(); if (old_index < -1 || old_index >= pcb_max_copper_layer) { - pcb_message(PCB_MSG_DEFAULT, "Invalid old layer %d for move: must be -1..%d\n", old_index, pcb_max_copper_layer - 1); + pcb_message(PCB_MSG_ERROR, "Invalid old layer %d for move: must be -1..%d\n", old_index, pcb_max_copper_layer - 1); return 1; } if (new_index < -1 || new_index > pcb_max_copper_layer || new_index >= PCB_MAX_LAYER) { - pcb_message(PCB_MSG_DEFAULT, "Invalid new layer %d for move: must be -1..%d\n", new_index, pcb_max_copper_layer); + pcb_message(PCB_MSG_ERROR, "Invalid new layer %d for move: must be -1..%d\n", new_index, pcb_max_copper_layer); return 1; } if (old_index == new_index) @@ -857,7 +857,7 @@ if (old_index == -1) { pcb_layer_t *lp; if (pcb_max_copper_layer == PCB_MAX_LAYER) { - pcb_message(PCB_MSG_DEFAULT, "No room for new layers\n"); + pcb_message(PCB_MSG_ERROR, "No room for new layers\n"); return 1; } /* Create a new layer at new_index. */ Index: trunk/src/polygon.c =================================================================== --- trunk/src/polygon.c (revision 5667) +++ trunk/src/polygon.c (revision 5668) @@ -729,7 +729,7 @@ p->Clipped = biggest(merged); assert(!p->Clipped || pcb_poly_valid(p->Clipped)); if (!p->Clipped) - pcb_message(PCB_MSG_DEFAULT, "Polygon cleared out of existence near (%d, %d)\n", + pcb_message(PCB_MSG_WARNING, "Polygon cleared out of existence near (%d, %d)\n", (p->BoundingBox.X1 + p->BoundingBox.X2) / 2, (p->BoundingBox.Y1 + p->BoundingBox.Y2) / 2); return 1; } @@ -1326,7 +1326,7 @@ pcb_draw(); } else - pcb_message(PCB_MSG_DEFAULT, _("A polygon has to have at least 3 points\n")); + pcb_message(PCB_MSG_ERROR, _("A polygon has to have at least 3 points\n")); } /* --------------------------------------------------------------------------- Index: trunk/src/route_style.c =================================================================== --- trunk/src/route_style.c (revision 5667) +++ trunk/src/route_style.c (revision 5668) @@ -81,7 +81,7 @@ if (len > sizeof(routeStyle->name)-1) { memcpy(routeStyle->name, Name, sizeof(routeStyle->name)-1); routeStyle->name[sizeof(routeStyle->name)-1] = '\0'; - pcb_message(PCB_MSG_DEFAULT, "Route style name '%s' too long, truncated to '%s'\n", Name, routeStyle->name); + pcb_message(PCB_MSG_WARNING, "Route style name '%s' too long, truncated to '%s'\n", Name, routeStyle->name); } else strcpy(routeStyle->name, Name); @@ -203,7 +203,7 @@ case PCB_TYPE_ARC: return pcb_get_style_size(F_SelectedArcs, out, 0, size_id); } - pcb_message(PCB_MSG_DEFAULT, _("Sorry, can't fetch the style of that object type (%x)\n"), type); + pcb_message(PCB_MSG_ERROR, _("Sorry, can't fetch the style of that object type (%x)\n"), type); return -1; case F_SelectedPads: if (size_id != 2) /* don't mess with pad size */ @@ -229,7 +229,7 @@ return 0; case F_SelectedTexts: case F_SelectedNames: - pcb_message(PCB_MSG_DEFAULT, _("Sorry, can't change style of every selected object\n")); + pcb_message(PCB_MSG_ERROR, _("Sorry, can't change style of every selected object\n")); return -1; } return 0;