From 54f8b3ae5df6736c58b2a8398f9ac85da425c96d Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 22 Apr 2015 11:30:19 +0200 Subject: moved all to std::string (nw) --- src/emu/render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/render.c') diff --git a/src/emu/render.c b/src/emu/render.c index ed4a7b7d1a0..30a0b992215 100644 --- a/src/emu/render.c +++ b/src/emu/render.c @@ -1571,9 +1571,9 @@ bool render_target::load_layout_file(const char *dirname, const char *filename) else { // build the path and optionally prepend the directory - astring fname = astring(filename).cat(".lay"); + std::string fname = std::string(filename).append(".lay"); if (dirname != NULL) - fname.ins(0, PATH_SEPARATOR).ins(0, dirname); + fname.insert(0, PATH_SEPARATOR).insert(0, dirname); // attempt to open the file; bail if we can't emu_file layoutfile(manager().machine().options().art_path(), OPEN_FLAG_READ); -- cgit v1.2.3-70-g09d2