changeset 34653:f08d4a01d836

fix uninitialized instance variable in file editor * file-editor.cc (file_editor): initialize m_is_octave_file
author Torsten Lilge <ttl-octave@mailbox.org>
date Fri, 20 Jun 2025 23:20:19 +0200
parents 281bdeb70b42
children 7001296283dd
files libgui/src/m-editor/file-editor.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc
+++ b/libgui/src/m-editor/file-editor.cc
@@ -117,6 +117,7 @@
   m_closed = true;
   m_no_focus = false;
   m_editor_ready = false;
+  m_is_octave_file = true;
 
   m_copy_action_enabled = false;
   m_undo_action_enabled = false;