diff options
author | Rubidium <rubidium@openttd.org> | 2021-06-14 23:17:58 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-06-15 06:13:00 +0200 |
commit | d31a535c87a5dc9f2333ddb00a116109fed68ec8 (patch) | |
tree | 85682898aadd944c71d3c2563182f9a101f44945 /src/script | |
parent | 05005dcdfa4f2d0c8fe2e0f0a92103dccd4691ab (diff) | |
download | openttd-d31a535c87a5dc9f2333ddb00a116109fed68ec8.tar.xz |
Cleanup: remove some unneeded c_str() calls
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/script_scanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_scanner.cpp b/src/script/script_scanner.cpp index dc14da1db..319a1c7fc 100644 --- a/src/script/script_scanner.cpp +++ b/src/script/script_scanner.cpp @@ -182,7 +182,7 @@ struct ScriptFileChecksumCreator : FileScanner { byte tmp_md5sum[16]; /* Open the file ... */ - FILE *f = FioFOpenFile(filename.c_str(), "rb", this->dir, &size); + FILE *f = FioFOpenFile(filename, "rb", this->dir, &size); if (f == nullptr) return false; /* ... calculate md5sum... */ |