From 3f65a02ced741979ede333539bac67ead9dbc368 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 15 Jul 2013 22:51:44 -0400 Subject: COMMON: Make the two INI save file functions take a String reference --- common/ini-file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/ini-file.h') diff --git a/common/ini-file.h b/common/ini-file.h index 1d94ce7bdc..a1505fe468 100644 --- a/common/ini-file.h +++ b/common/ini-file.h @@ -94,10 +94,10 @@ public: void clear(); bool loadFromFile(const String &filename); - bool loadFromSaveFile(const char *filename); + bool loadFromSaveFile(const String &filename); bool loadFromStream(SeekableReadStream &stream); bool saveToFile(const String &filename); - bool saveToSaveFile(const char *filename); + bool saveToSaveFile(const String &filename); bool saveToStream(WriteStream &stream); bool hasSection(const String §ion) const; -- cgit v1.2.3 From 854e22b38bb901d339d45a4d2a58786acd821c7c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 18 Feb 2014 02:34:18 +0100 Subject: COMMON: Make GPL headers consistent in themselves. --- common/ini-file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/ini-file.h') diff --git a/common/ini-file.h b/common/ini-file.h index a1505fe468..f27a8b9425 100644 --- a/common/ini-file.h +++ b/common/ini-file.h @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -- cgit v1.2.3