code improvement
This commit is contained in:
parent
df5e7e7ccf
commit
8ba652eb07
|
@ -849,7 +849,7 @@ short FOptiAttr::vga2ansi (register short color)
|
||||||
// 1 1 1 0 | 1 0 1 1
|
// 1 1 1 0 | 1 0 1 1
|
||||||
// 1 1 1 1 | 1 1 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[] =
|
static const short lookup_table[] =
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,9 +26,6 @@ class AttribDlg : public FDialog
|
||||||
AttribDlg& operator = (const AttribDlg&); // and operator '='
|
AttribDlg& operator = (const AttribDlg&); // and operator '='
|
||||||
void adjustSize();
|
void adjustSize();
|
||||||
|
|
||||||
protected:
|
|
||||||
friend class AttribDemo;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AttribDlg (FWidget* = 0); // constructor
|
explicit AttribDlg (FWidget* = 0); // constructor
|
||||||
~AttribDlg(); // destructor
|
~AttribDlg(); // destructor
|
||||||
|
|
Loading…
Reference in New Issue