No longer passing in C strings to SendInfoMessage formatted overload.

This commit is contained in:
Kenix3 2022-08-09 22:16:14 -04:00
parent 5751b5c278
commit a4804d7290
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}