Skip to content

Commit

Permalink
Applied some formatting to Editor quit confirmation-with-maps-open me…
Browse files Browse the repository at this point in the history
…ssage
  • Loading branch information
Vultraz committed Feb 24, 2016
1 parent 7d0a02e commit 03ed7ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/editor/controller/editor_controller.cpp
Expand Up @@ -214,7 +214,7 @@ bool editor_controller::quit_confirm()
message = _("Do you really want to quit? Changes in the map since the last save will be lost.");
} else {
message = _("Do you really want to quit? The following maps were modified and all changes since the last save will be lost:");
message += modified;
message += "\n" + modified;
}
return quit_confirmation::show_prompt(message);
}
Expand Down
2 changes: 1 addition & 1 deletion src/editor/map/context_manager.cpp
Expand Up @@ -130,7 +130,7 @@ size_t context_manager::modified_maps(std::string& message) {
}
}
BOOST_FOREACH(std::string& str, modified) {
message += "\n" + str;
message += "\n" + std::string("") + str;
}
return modified.size();
}
Expand Down

0 comments on commit 03ed7ff

Please sign in to comment.