Merge remote-tracking branch 'Delapouite/remaining-buffers'

This commit is contained in:
Maxime Coste 2017-11-24 16:37:53 +08:00
commit 6084490a6e

View File

@ -387,7 +387,8 @@ static void ensure_all_buffers_are_saved()
if (it == end) if (it == end)
return; return;
String message = "modified buffers remaining: ["; String message = format("{} modified buffers remaining: [",
std::count_if(it, end, is_modified));
while (it != end) while (it != end)
{ {
message += (*it)->name(); message += (*it)->name();