diff options
author | 2015-04-13 12:25:00 +0200 | |
---|---|---|
committer | 2015-04-13 12:25:21 +0200 | |
commit | 2edee0b81142bb565d646145f79cb6e70a7f1d4a (patch) | |
tree | c6cfb2a26a0c981972d280633bcac240b5f481e1 /src/emu/render.c | |
parent | dcd4f2a5b8476240591fd519c172c3f41710839a (diff) |
updated astring constructors to have just one string param, to be more like std::string (nw)
Diffstat (limited to 'src/emu/render.c')
-rw-r--r-- | src/emu/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/render.c b/src/emu/render.c index b7da5fcbb38..a510a6fd7b8 100644 --- a/src/emu/render.c +++ b/src/emu/render.c @@ -1571,7 +1571,7 @@ bool render_target::load_layout_file(const char *dirname, const char *filename) else { // build the path and optionally prepend the directory - astring fname(filename, ".lay"); + astring fname = astring(filename).cat(".lay"); if (dirname != NULL) fname.ins(0, PATH_SEPARATOR).ins(0, dirname); |