Fossil SCM

Don't put th1-setup and tcl-setup fields twice on the same setup page.

jan.nijtmans 2014-02-17 15:20 UTC setup-textarea
Commit d6aa95d332977f7df991829e0dbbfbc354f71c3f
1 file changed +2 -1
+2 -1
--- src/setup.c
+++ src/setup.c
@@ -1263,11 +1263,12 @@
12631263
}
12641264
}
12651265
}
12661266
@ </td><td style="width:50px;"></td><td valign="top">
12671267
for(pSet=ctrlSettings; pSet->name!=0; pSet++){
1268
- if( (pSet->width&SETUP_WIDTH)!=0 && !(pSet->width&SETUP_VERSIONABLE) ){
1268
+ if( (pSet->width&SETUP_WIDTH)!=0
1269
+ && !(pSet->width&(SETUP_VERSIONABLE|SETUP_TEXTAREA)) ){
12691270
entry_attribute(pSet->name, /*pSet->width*/ 25, pSet->name,
12701271
pSet->var!=0 ? pSet->var : pSet->name,
12711272
(char*)pSet->def, 0);
12721273
@ <br />
12731274
}
12741275
--- src/setup.c
+++ src/setup.c
@@ -1263,11 +1263,12 @@
1263 }
1264 }
1265 }
1266 @ </td><td style="width:50px;"></td><td valign="top">
1267 for(pSet=ctrlSettings; pSet->name!=0; pSet++){
1268 if( (pSet->width&SETUP_WIDTH)!=0 && !(pSet->width&SETUP_VERSIONABLE) ){
 
1269 entry_attribute(pSet->name, /*pSet->width*/ 25, pSet->name,
1270 pSet->var!=0 ? pSet->var : pSet->name,
1271 (char*)pSet->def, 0);
1272 @ <br />
1273 }
1274
--- src/setup.c
+++ src/setup.c
@@ -1263,11 +1263,12 @@
1263 }
1264 }
1265 }
1266 @ </td><td style="width:50px;"></td><td valign="top">
1267 for(pSet=ctrlSettings; pSet->name!=0; pSet++){
1268 if( (pSet->width&SETUP_WIDTH)!=0
1269 && !(pSet->width&(SETUP_VERSIONABLE|SETUP_TEXTAREA)) ){
1270 entry_attribute(pSet->name, /*pSet->width*/ 25, pSet->name,
1271 pSet->var!=0 ? pSet->var : pSet->name,
1272 (char*)pSet->def, 0);
1273 @ <br />
1274 }
1275

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button