Index: djopt.c =================================================================== --- djopt.c (revision 31001) +++ djopt.c (revision 31002) @@ -240,7 +240,7 @@ { if (n <= 0) return 0; - return n - n % (pcbhl_conf.editor.grid); + return n - n % (rnd_conf.editor.grid); } /* Avoid commonly used names. */ @@ -1357,9 +1357,9 @@ len = c->x + max; break; } - if (snap && max > pcbhl_conf.editor.grid) { + if (snap && max > rnd_conf.editor.grid) { if (pull < 0) - len += pcbhl_conf.editor.grid - 1; + len += rnd_conf.editor.grid - 1; len = gridsnap(len); } if ((fdir == RIGHT && len == cs[0]->y) || (fdir == DOWN && len == cs[0]->x)) @@ -1995,13 +1995,13 @@ } #if 0 - if (dist < pcbhl_conf.editor.grid) { + if (dist < rnd_conf.editor.grid) { c->miter = 0; progress = 1; continue; } - dist -= dist % pcbhl_conf.editor.grid; + dist -= dist % rnd_conf.editor.grid; #endif if (dist <= 0) { c->miter = 0;