fixed crash bug when executing command 'print editorsetup.conf'
[rocksndiamonds.git] / src / editor.c
index 39f479822b30a51bd5d81619db7e192caf7f46f2..e714de15eb1a634968cec358c17b4bfc6b24817b 100644 (file)
@@ -5659,7 +5659,7 @@ static void ReinitializeElementList()
 
 void PrintEditorElementList()
 {
-  boolean *stop = &setup.editor.el_user_defined;
+  boolean *stop = &setup_editor_el_user_defined;
   int i, j;
 
   for (i = 0; editor_elements_info[i].setup_value != stop; i++)