code improvement

This commit is contained in:
Markus Gans 2016-01-10 07:08:55 +01:00
parent df5e7e7ccf
commit 8ba652eb07
2 changed files with 1 additions and 4 deletions

View File

@ -849,7 +849,7 @@ short FOptiAttr::vga2ansi (register short color)
// 1 1 1 0 | 1 0 1 1
// 1 1 1 1 | 1 1 1 1
if ( ! color < 0 && color < 16 )
if ( color >= 0 && color < 16 )
{
static const short lookup_table[] =
{

View File

@ -26,9 +26,6 @@ class AttribDlg : public FDialog
AttribDlg& operator = (const AttribDlg&); // and operator '='
void adjustSize();
protected:
friend class AttribDemo;
public:
explicit AttribDlg (FWidget* = 0); // constructor
~AttribDlg(); // destructor