diff --git a/SourceFiles/Playfair.cpp b/SourceFiles/Playfair.cpp index feabf31..625478b 100644 --- a/SourceFiles/Playfair.cpp +++ b/SourceFiles/Playfair.cpp @@ -15,7 +15,7 @@ * @brief The current library's version number * */ -const std::string Playfair::version = "1.0"; +const std::string Playfair::version = "1.0.1"; ///The letter that needs replaced for the cipher to work char Playfair::REPLACED = 'J'; @@ -431,7 +431,8 @@ std::string Playfair::getGrid() const{ std::string temp; for(int row = 0;row < 5;++row){ for(int col = 0;col < 5;++col){ - temp += grid[row][col] + " "; + temp += grid[row][col]; + temp += " "; } temp += '\n'; }