mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 19:32:17 -05:00
No longer passing in C strings to SendInfoMessage formatted overload.
This commit is contained in:
parent
5751b5c278
commit
a4804d7290
@ -45,7 +45,7 @@ namespace Ship {
|
||||
std::ostringstream imploded;
|
||||
std::copy(args.begin() + 2, args.end(), std::ostream_iterator<std::string>(imploded, delim));
|
||||
Bindings[k] = imploded.str();
|
||||
SohImGui::console->SendInfoMessage("Binding '%s' to %s", args[1], Bindings[k]);
|
||||
SohImGui::console->SendInfoMessage("Binding '%s' to %s", args[1].c_str(), Bindings[k].c_str());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user