diff --git a/src/commands/CmdVersion.cpp b/src/commands/CmdVersion.cpp index b8ec3c52d..b9763bcfc 100644 --- a/src/commands/CmdVersion.cpp +++ b/src/commands/CmdVersion.cpp @@ -29,7 +29,7 @@ #include #include #include -#include +#include #ifdef HAVE_COMMIT #include #endif @@ -61,15 +61,15 @@ int CmdVersion::execute (std::string& output) // Create a table for the disclaimer. int width = context.getWidth (); - ViewText disclaimer; + Table disclaimer; disclaimer.width (width); - disclaimer.add (Column::factory ("string", "")); + disclaimer.add (""); disclaimer.set (disclaimer.addRow (), 0, STRING_CMD_VERSION_MIT); // Create a table for the URL. - ViewText link; + Table link; link.width (width); - link.add (Column::factory ("string", "")); + link.add (""); link.set (link.addRow (), 0, STRING_CMD_VERSION_DOCS); Color bold;