File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,9 @@ BOOL CFREDApp::InitInstance() {
206206 Enable3dControlsStatic (); // Call this when linking to MFC statically
207207#endif
208208
209+ // Set the company registry key, settings saving doesn't work otherwise
210+ SetRegistryKey (" HardLightProductions" );
211+
209212 LoadStdProfileSettings (9 ); // Load standard INI file options (including MRU)
210213 Show_stars = GetProfileInt (" Preferences" , " Show stars" , Show_stars);
211214 Show_grid_positions = GetProfileInt (" Preferences" , " Show grid positions" , Show_grid_positions);
@@ -516,6 +519,7 @@ void CFREDApp::write_ini_file(int degree) {
516519 write_window (" Asteroid window" , &Asteroid_wnd_data);
517520 write_window (" Mission notes window" , &Mission_notes_wnd_data);
518521 }
522+ m_pRecentFileList->WriteList ();
519523}
520524
521525void CFREDApp::write_window (char *name, window_data *wndd) {
You can’t perform that action at this time.
0 commit comments