Differences From:
File
src/report.c
part of check-in
[49380d500a]
- Continuing work on the ticketing system.
by
drh on
2008-05-28 18:48:12.
[view]
To:
File
src/report.c
part of check-in
[9e2d2676a4]
- Fix a C++-ism in report.c.
by
drh on
2008-06-08 15:10:20.
[view]
@@ -53,11 +53,11 @@
db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
@ <p>Choose a report format from the following list:</p>
@ <ol>
while( db_step(&q)==SQLITE_ROW ){
- rn = db_column_int(&q, 0);
const char *zTitle = db_column_text(&q, 1);
const char *zOwner = db_column_text(&q, 2);
+ rn = db_column_int(&q, 0);
cnt++;
@ <li value="%d(cnt)"><a href="rptview?rn=%d(rn)"
@ rel="nofollow">%h(zTitle)</a>
if( g.okWrite && zOwner && zOwner[0] ){