Index: conf_act.c =================================================================== --- conf_act.c (revision 25132) +++ conf_act.c (revision 25133) @@ -314,7 +314,7 @@ { const char *expected; PCB_ACT_CONVARG(1, FGW_STR, ChkGridUnits, expected = argv[1].val.str); - PCB_ACT_IRES(strcmp(conf_core.editor.grid_unit->suffix, expected) == 0); + PCB_ACT_IRES(strcmp(pcbhl_conf.editor.grid_unit->suffix, expected) == 0); return 0; }