From 7ef27412adc54d25d8b3f9d5c0a1a872cc7a8634 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 10 Apr 2022 15:18:36 +0200 Subject: [PATCH] =?UTF-8?q?Meilleur=20affichage=20de=20l'ent=C3=AAte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/evenement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evenement.cpp b/src/evenement.cpp index 3787913..531442e 100644 --- a/src/evenement.cpp +++ b/src/evenement.cpp @@ -21,8 +21,8 @@ void Evenement::arreterSimulation(Univers * univers) { void Evenement::affichage(Univers * univers, const bool traits) noexcept { // Entête (la taille de la ligne séparatrice s'adapte en fonction du texte à afficher) std::cout << - std::string(37 + std::to_string(univers->ID).size() + std::to_string(univers->m_tour).size(), '-') << - std::endl << "Affichage de l'univers n°" << univers->ID << " au tour n°" << univers->m_tour << + std::string(39 + std::to_string(univers->ID).size() + std::to_string(univers->m_tour).size(), '-') << + std::endl << " Affichage de l'univers n°" << univers->ID << " au tour n°" << univers->m_tour << "." << std::endl;