- Relocated legacy checks from Config.cpp to legacy.cpp.
This commit is contained in:
Paul Beckingham 2011-10-02 18:05:20 -04:00
parent d62ea4e223
commit 6e21cc5b2a
5 changed files with 73 additions and 71 deletions

View file

@ -32,6 +32,7 @@
#include <algorithm>
#include <text.h>
#include <i18n.h>
#include <main.h>
#include <Context.h>
#include <Directory.h>
#include <ViewText.h>
@ -304,8 +305,9 @@ int CmdShow::execute (std::string& output)
out << " " << format (STRING_CMD_SHOW_DIFFER_COLOR, warning.colorize ("color"));
}
out << context.config.checkForDeprecatedColor ();
out << context.config.checkForDeprecatedColumns ();
out << legacyCheckForDeprecatedColor ();
out << legacyCheckForDeprecatedColumns ();
// TODO Check for referenced but missing theme files.
// TODO Check for referenced but missing string files.
// TODO Check for referenced but missing tips files.