Differences From:
File
src/setup.c
part of check-in
[0edee97370]
- Begin adding setup screens for ticket configuration.
by
drh on
2007-10-03 02:33:31.
[view]
To:
File
src/setup.c
part of check-in
[1e9c0e287e]
- Test commands for importing and exporting ticket configurations.
by
drh on
2007-10-03 12:20:00.
[view]
@@ -451,9 +451,9 @@
const char *zLabel, /* The text label on the entry box */
int width, /* Width of the entry box */
const char *zVar, /* The corresponding row in the VAR table */
const char *zQParm, /* The query parameter */
- const char *zDflt /* Default value if VAR table entry does not exist */
+ char *zDflt /* Default value if VAR table entry does not exist */
){
const char *zVal = db_get(zVar, zDflt);
const char *zQ = P(zQParm);
if( zQ && strcmp(zQ,zVal)!=0 ){
@@ -472,9 +472,9 @@
int rows, /* Rows in the textarea */
int cols, /* Columns in the textarea */
const char *zVar, /* The corresponding row in the VAR table */
const char *zQParm, /* The query parameter */
- const char *zDflt /* Default value if VAR table entry does not exist */
+ char *zDflt /* Default value if VAR table entry does not exist */
){
const char *zVal = db_get(zVar, zDflt);
const char *zQ = P(zQParm);
if( zQ && strcmp(zQ,zVal)!=0 ){