From 6392288967fa76515c6789d5b99b91d76472caf4 Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Fri, 1 May 2015 10:39:26 +0200 Subject: [PATCH] Modify show() method presentation --- src/Model/Grid.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Model/Grid.cpp b/src/Model/Grid.cpp index 19e8f4d..e484fc3 100644 --- a/src/Model/Grid.cpp +++ b/src/Model/Grid.cpp @@ -42,7 +42,9 @@ void Grid::show() std::cout << " " << m_table[i][j]->description() << " |"; } std::cout << std::endl; - std::cout << std::endl; + + if (i != m_size -1) + std::cout << std::endl; } std::cout << "_________________" << std::endl; }