summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/inputpair.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-21 22:47:30 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-21 22:47:30 -0500
commit0a5d207e667075f4ea0618339d971c0f977d9ce1 (patch)
tree9ccac3725e3ed25e4ab56fe43a4a50d821d54e0d /src/osd/modules/render/bgfx/inputpair.cpp
parent1ed70b0181557558aa2e685f7f7bbe81a54d0626 (diff)
Eliminate many unnecessary c_str calls
Diffstat (limited to 'src/osd/modules/render/bgfx/inputpair.cpp')
-rw-r--r--src/osd/modules/render/bgfx/inputpair.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/inputpair.cpp b/src/osd/modules/render/bgfx/inputpair.cpp
index 60d3c8791fe..09b77fc6891 100644
--- a/src/osd/modules/render/bgfx/inputpair.cpp
+++ b/src/osd/modules/render/bgfx/inputpair.cpp
@@ -103,7 +103,7 @@ int32_t bgfx_input_pair::texture_changed(int32_t id, std::string *str, int32_t n
file_name = file.substr(0, last_dot);
}
- *str = string_format("%s", file_name.c_str());
+ *str = file_name;
}
return m_current_texture;