Migrated engine to using dlmalloc through eng::
This commit is contained in:
@@ -53,7 +53,7 @@ private:
|
||||
}
|
||||
|
||||
void do_choose_command(const StringVec &cmd) {
|
||||
std::string action = gui_.get_action(util::strtoint(cmd[1], -1));
|
||||
eng::string action = gui_.get_action(util::strtoint(cmd[1], -1));
|
||||
if (action == "") {
|
||||
stdostream() << "Invalid menu item #" << std::endl;
|
||||
return;
|
||||
@@ -111,7 +111,7 @@ private:
|
||||
{
|
||||
world_->update_source(get_lua_source());
|
||||
while (true) {
|
||||
std::string line = get_stdio_channel()->in()->readline();
|
||||
eng::string line = get_stdio_channel()->in()->readline();
|
||||
if (line == "") break;
|
||||
console_.add(line);
|
||||
get_stdio_channel()->set_prompt(console_.get_prompt());
|
||||
|
||||
Reference in New Issue
Block a user