1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

Everywhere: "file name" => "filename"

This commit is contained in:
Andreas Kling 2021-04-29 21:46:15 +02:00
parent def1f1444a
commit 7ae7170d61
Notes: sideshowbarker 2024-07-18 18:53:39 +09:00
59 changed files with 181 additions and 181 deletions

View file

@ -41,8 +41,8 @@ NonnullRefPtr<ConfigFile> ConfigFile::open(const String& path)
return adopt_ref(*new ConfigFile(path));
}
ConfigFile::ConfigFile(const String& file_name)
: m_file_name(file_name)
ConfigFile::ConfigFile(const String& filename)
: m_filename(filename)
{
reparse();
}
@ -56,7 +56,7 @@ void ConfigFile::reparse()
{
m_groups.clear();
auto file = File::construct(m_file_name);
auto file = File::construct(m_filename);
if (!file->open(IODevice::OpenMode::ReadOnly))
return;
@ -151,7 +151,7 @@ bool ConfigFile::sync()
if (!m_dirty)
return true;
FILE* fp = fopen(m_file_name.characters(), "wb");
FILE* fp = fopen(m_filename.characters(), "wb");
if (!fp)
return false;