Corretta la one_enabled() [Under Guy's supervisory].

git-svn-id: svn://10.65.10.50/trunk@3033 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1996-06-20 15:16:51 +00:00
parent 59f1253337
commit cd82907335

View File

@ -64,7 +64,7 @@ public:
void enable_row(long r, bool on);
void disable_row(long r);
bool row_enabled(long n) const { return _disabled[n] == FALSE; }
bool one_enabled() const { return _disabled.first_one() < 0; }
bool one_enabled() const { return _disabled.ones() < _sheet->items(); }
byte& column_type(int c) { CHECKD(c >= 0 && c < MAX_COL, "Bad column ", c); return _type[c]; }