mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Fix comments, remove unnecessary #include
This commit is contained in:
parent
98223f9850
commit
05d5f2677c
@ -56,7 +56,6 @@
|
||||
#include <wx/defs.h>
|
||||
#include <wx/app.h>
|
||||
#include <wx/intl.h>
|
||||
#include <wx/fileconf.h>
|
||||
#include <wx/filename.h>
|
||||
#include <wx/stdpaths.h>
|
||||
|
||||
|
@ -48,7 +48,7 @@ FileConfig::FileConfig(const wxString& appName,
|
||||
{
|
||||
// Prevent wxFileConfig from attempting a Flush() during object deletion. This happens
|
||||
// because we don't use the wxFileConfig::Flush() method and so the wxFileConfig dirty
|
||||
// flag never gets reset. During deletiong it is checked a a Flush() performed. This
|
||||
// flag never gets reset. During deleting it is checked and a Flush() performed. This
|
||||
// can (and probably will) create bogus temporary files.
|
||||
DisableAutoSave();
|
||||
|
||||
@ -82,7 +82,7 @@ FileConfig::FileConfig(const wxString& appName,
|
||||
|
||||
// If we can't read an existing config file, we must not allow the user to retry
|
||||
// since the wxFileConfig initialization will not have read it and the caller
|
||||
// will assume that the file was didn't exist and possibly initialize it. This
|
||||
// will assume that the file didn't exist and possibly initialize it. This
|
||||
// could lead to wiping out the original contents.
|
||||
//
|
||||
// If the wxFileConfig class allowed us to call wxFileConfig::Init(), we wouldn't
|
||||
|
Loading…
x
Reference in New Issue
Block a user