diff options
author | 2015-04-11 15:26:58 +0200 | |
---|---|---|
committer | 2015-04-11 15:26:58 +0200 | |
commit | 6b36c7ab225c4619dcb5ac33c34813a66277457e (patch) | |
tree | 51fe970d770cd4ad794b6aa428560f020f0f0fd6 /src/emu/emuopts.c | |
parent | c334fda9a9da652bcac871f3b778ba4ca967031c (diff) |
cstr() - > c_str() as preparation for move to std::string (nw)
Diffstat (limited to 'src/emu/emuopts.c')
-rw-r--r-- | src/emu/emuopts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c index 52ca361a7db..8a5b3a20fb0 100644 --- a/src/emu/emuopts.c +++ b/src/emu/emuopts.c @@ -532,7 +532,7 @@ bool emu_options::parse_one_ini(const char *basename, int priority, astring *err // append errors if requested if (error && error_string != NULL) - error_string->catprintf("While parsing %s:\n%s\n", file.fullpath(), error.cstr()); + error_string->catprintf("While parsing %s:\n%s\n", file.fullpath(), error.c_str()); return result; } @@ -544,7 +544,7 @@ const char *emu_options::main_value(astring &buffer, const char *name) const int pos = buffer.chr(0, ','); if (pos != -1) buffer = buffer.substr(0, pos); - return buffer.cstr(); + return buffer.c_str(); } const char *emu_options::sub_value(astring &buffer, const char *name, const char *subname) const @@ -561,5 +561,5 @@ const char *emu_options::sub_value(astring &buffer, const char *name, const char } else buffer.reset(); - return buffer.cstr(); + return buffer.c_str(); } |