Index: trunk/src/line.c =================================================================== --- trunk/src/line.c (revision 3353) +++ trunk/src/line.c (revision 3354) @@ -453,14 +453,16 @@ else { if (conf_core.editor.line_refraction !=0) { if (shift) { - if (conf_core.editor.line_refraction==2) { - conf_setf(CFR_DESIGN, "editor/line_refraction", -1, "%d", 1); - printf("line_refraction is set to: %d\n", conf_core.editor.line_refraction); + if (conf_core.editor.line_refraction != 1) { + conf_setf(CFR_DESIGN, "editor/line_refraction", -1, "%d", 1); + printf("line_refraction is set to: %d\n", conf_core.editor.line_refraction); } } - else{ - conf_setf(CFR_DESIGN, "editor/line_refraction", -1, "%d", 2); - printf("line_refraction is set to: %d\n", conf_core.editor.line_refraction); + else { + if (conf_core.editor.line_refraction != 2) { + conf_setf(CFR_DESIGN, "editor/line_refraction", -1, "%d", 2); + printf("line_refraction is set to: %d\n", conf_core.editor.line_refraction); + } } } Crosshair.X = r45.X;