summaryrefslogtreecommitdiff
path: root/project2/fileRows.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-12-29 16:36:50 +0000
committerrandomdan <randomdan@localhost>2010-12-29 16:36:50 +0000
commita6f73e09abe80d4b261e358b2ff8c2e26973a266 (patch)
treef902696bf923eb0b2dbaf360444816223c939b1c /project2/fileRows.cpp
parentInstall the new variants of CGI (diff)
downloadproject2-a6f73e09abe80d4b261e358b2ff8c2e26973a266.tar.bz2
project2-a6f73e09abe80d4b261e358b2ff8c2e26973a266.tar.xz
project2-a6f73e09abe80d4b261e358b2ff8c2e26973a266.zip
Fix row numbering in rowSets to behave as before (1 upwards, not 0 upwards)
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r--project2/fileRows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/fileRows.cpp b/project2/fileRows.cpp
index c42d6cf..b7d0c7e 100644
--- a/project2/fileRows.cpp
+++ b/project2/fileRows.cpp
@@ -52,7 +52,7 @@ FileRows::getColumnName(unsigned int col) const
void
FileRows::execute(const RowProcessor * rp) const
{
- rowNum = 0;
+ rowNum = 1;
FileStarChannel c(doOpen());
c.set_encoding(encoding);
c.set_line_term(newline);