diff options
Diffstat (limited to 'src/vtx/vtxfile.cc')
-rw-r--r-- | src/vtx/vtxfile.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vtx/vtxfile.cc b/src/vtx/vtxfile.cc index 83c3801..004e1e5 100644 --- a/src/vtx/vtxfile.cc +++ b/src/vtx/vtxfile.cc @@ -185,7 +185,7 @@ StringBuf ayemu_vtx_t::sprintname (const char *fmt) buf.insert(-1, hdr.title); break; case 'y': - buf.combine(int_to_str(hdr.year)); + str_insert_int(buf, -1, hdr.year); break; case 'f': buf.insert(-1, hdr.from); @@ -206,10 +206,10 @@ StringBuf ayemu_vtx_t::sprintname (const char *fmt) buf.insert(-1, (hdr.chiptype == AYEMU_AY)? "AY" : "YM" ); break; case 'F': - buf.combine(int_to_str(hdr.chipFreq)); + str_insert_int(buf, -1, hdr.chipFreq); break; case 'P': - buf.combine(int_to_str(hdr.playerFreq)); + str_insert_int(buf, -1, hdr.playerFreq); break; default: buf.insert(-1, fmt, 1); |