Index: export_openems.c =================================================================== --- export_openems.c (revision 24593) +++ export_openems.c (revision 24594) @@ -161,7 +161,7 @@ static pcb_hid_attribute_t *openems_get_export_options(int *n) { const char *suffix = ".m"; - pcb_mesh_t *mesh = pcb_mesg_get(MESH_NAME); + pcb_mesh_t *mesh = pcb_mesh_get(MESH_NAME); if ((PCB != NULL) && (openems_attribute_list[HA_openemsfile].default_val.str_value == NULL)) pcb_derive_default_filename(PCB->Filename, &openems_attribute_list[HA_openemsfile], suffix); @@ -517,7 +517,7 @@ static void openems_write_mesh1(wctx_t *ctx) { - pcb_mesh_t *mesh = pcb_mesg_get(MESH_NAME); + pcb_mesh_t *mesh = pcb_mesh_get(MESH_NAME); int n; fprintf(ctx->fsim, "%%%%%% Board mesh, part 1\n"); @@ -542,7 +542,7 @@ static void openems_write_mesh2(wctx_t *ctx) { - pcb_mesh_t *mesh = pcb_mesg_get(MESH_NAME); + pcb_mesh_t *mesh = pcb_mesh_get(MESH_NAME); if (mesh == NULL) { fprintf(ctx->f, "%%%%%% Board mesh (NOT defined in pcb-rnd)\n"); Index: mesh.c =================================================================== --- mesh.c (revision 24593) +++ mesh.c (revision 24594) @@ -1034,7 +1034,7 @@ pcb_gui->invalidate_all(); } -pcb_mesh_t *pcb_mesg_get(const char *name) +pcb_mesh_t *pcb_mesh_get(const char *name) { return &mesh; } Index: mesh.h =================================================================== --- mesh.h (revision 24593) +++ mesh.h (revision 24594) @@ -47,4 +47,4 @@ fgw_error_t pcb_act_mesh(fgw_arg_t *res, int oargc, fgw_arg_t *oargv); /* Get one of the configured meshes */ -pcb_mesh_t *pcb_mesg_get(const char *name); +pcb_mesh_t *pcb_mesh_get(const char *name);