--- parser3/src/main/pa_table.C 2024/09/07 16:30:27 1.75 +++ parser3/src/main/pa_table.C 2024/11/04 03:53:25 1.77 @@ -1,13 +1,13 @@ /** @file Parser: table class. - Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ #include "pa_table.h" -volatile const char * IDENT_PA_TABLE_C="$Id: pa_table.C,v 1.75 2024/09/07 16:30:27 moko Exp $" IDENT_PA_TABLE_H; +volatile const char * IDENT_PA_TABLE_C="$Id: pa_table.C,v 1.77 2024/11/04 03:53:25 moko Exp $" IDENT_PA_TABLE_H; #include "pa_exception.h" @@ -34,7 +34,7 @@ static void append_row(Table& src, Table } Table::Table(const Table& src, Action_options& options) : - Array( (options.limit==ARRAY_OPTION_LIMIT_ALL || options.limit>src.count()) ? src.count() : options.limit), + Array(options.limit > src.count() ? src.count() : options.limit), fcurrent(0), fcolumns(src.fcolumns),