Differences From:
File
src/setup.c
part of check-in
[555911dff5]
- Render the header of every page using subscript. Add a setup page that
for editing that subscript.
by
drh on
2007-11-21 03:01:40.
[view]
To:
File
src/setup.c
part of check-in
[2a707334c9]
- Fix some compiler warnings. Comment changes on non-functioning code in tkt.c.
by
drh on
2007-11-22 01:53:24.
[view]
@@ -483,11 +483,11 @@
int rows, /* Rows in the textarea */
int cols, /* Columns in the textarea */
const char *zVar, /* The corresponding row in the VAR table */
const char *zQP, /* The query parameter */
- char *zDflt /* Default value if VAR table entry does not exist */
+ const char *zDflt /* Default value if VAR table entry does not exist */
){
- const char *z = db_get(zVar, zDflt);
+ const char *z = db_get(zVar, (char*)zDflt);
const char *zQ = P(zQP);
if( zQ && strcmp(zQ,z)!=0 ){
db_set(zVar, zQ, 0);
z = zQ;