Index: excitation.c =================================================================== --- excitation.c (revision 26940) +++ excitation.c (revision 26941) @@ -102,7 +102,7 @@ { if (save) { char tmp[128]; - sprintf(tmp, "%f Hz", exc_ctx.dlg[widx].val.real_value); + sprintf(tmp, "%f Hz", exc_ctx.dlg[widx].val.dbl); ser_save(tmp, attrkey); } else { @@ -111,17 +111,17 @@ const char *orig = ser_load(attrkey); if (orig != NULL) { - hv.real_value = strtod(orig, &end); + hv.dbl = strtod(orig, &end); if (*end != '\0') { while(isspace(*end)) end++; if (pcb_strcasecmp(end, "hz") != 0) { pcb_message(PCB_MSG_ERROR, "Invalid real value (Hz) in board attribute '%s': '%s'\n", attrkey, orig); - hv.real_value = 0; + hv.dbl = 0; } } } else - hv.real_value = 0; + hv.dbl = 0; pcb_gui->attr_dlg_set_value(exc_ctx.dlg_hid_ctx, widx, &hv); } Index: export_openems.c =================================================================== --- export_openems.c (revision 26940) +++ export_openems.c (revision 26941) @@ -215,8 +215,8 @@ fprintf(ctx->f, "%% void is the material used for: fill holes, cutouts in substrate, etc\n"); fprintf(ctx->f, "void.name = '%s';\n", ctx->options[HA_void_name].str); - fprintf(ctx->f, "void.epsilon = %f;\n", ctx->options[HA_void_epsilon].real_value); - fprintf(ctx->f, "void.mue = %f;\n", ctx->options[HA_void_mue].real_value); + fprintf(ctx->f, "void.epsilon = %f;\n", ctx->options[HA_void_epsilon].dbl); + fprintf(ctx->f, "void.mue = %f;\n", ctx->options[HA_void_mue].dbl); fprintf(ctx->f, "%% void.kappa = kappa;\n"); fprintf(ctx->f, "%% void.sigma = sigma;\n"); fprintf(ctx->f, "\n"); @@ -363,7 +363,7 @@ { char *end, *s, *safe_name = pcb_strdup(port_name); const char *att; - double resistance = ctx->options[HA_def_port_res].real_value; + double resistance = ctx->options[HA_def_port_res].dbl; int act = 1; ctx->port_id++;