From aec01e740736db267e452f0ed5947649f79e3408 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 28 Feb 2016 11:09:00 +1100 Subject: Replace strformat, strprintf and strcatprintf with type-safe steam_format and string_format Update MAME to use new function Instantiate ODR-used static constant members Make some of the UI code more localisable Remove use of retired functions in tools --- src/tools/split.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/split.cpp') diff --git a/src/tools/split.cpp b/src/tools/split.cpp index 043d93b3a78..a6b97e7175d 100644 --- a/src/tools/split.cpp +++ b/src/tools/split.cpp @@ -152,7 +152,7 @@ static int split_file(const char *filename, const char *basename, UINT32 splitsi core_fprintf(splitfile, "hash=%s file=%s.%03d\n", computedhash.c_str(), basefilename.c_str(), partnum); // compute the full filename for this guy - strprintf(outfilename,"%s.%03d", basename, partnum); + outfilename = string_format("%s.%03d", basename, partnum); // create it filerr = core_fopen(outfilename.c_str(), OPEN_FLAG_WRITE | OPEN_FLAG_CREATE, &outfile); -- cgit v1.2.3-70-g09d2