fixed crash bug when executing command 'print editorsetup.conf'
authorHolger Schemel <info@artsoft.org>
Sun, 12 Mar 2017 19:26:09 +0000 (20:26 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:11 +0000 (23:21 +0100)
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++)