Diff of /DialogEdit.cpp [c032ef] .. [80baa6] Maximize Restore

  Switch to side-by-side view

--- a/DialogEdit.cpp
+++ b/DialogEdit.cpp
@@ -2850,10 +2850,9 @@
   int res;
 
   //flushing dialog.tlk
-  if(global_changed)
-  {
-    tmpstr.Format("%sdialog%s.tlk",bgfolder,(optflg&DIALOGF)?"F":"");
-    ((CChitemDlg *) AfxGetMainWnd())->write_file_progress(tmpstr); 
+  if(global_changed[0]==true)
+  {
+    ((CChitemDlg *) AfxGetMainWnd())->write_file_progress(0); 
   }
   unlink(WEIDU_LOG);
   res=my_system(syscommand);