Fossil SCM
(experimental) fix for [2cfd96b2ba]
Commit
949976e0654099c8ef05f972ea3246f0e39ecb5b
Parent
f7b355b311ab07c…
1 file changed
+12
-7
+12
-7
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1197,19 +1197,24 @@ | ||
| 1197 | 1197 | } |
| 1198 | 1198 | } |
| 1199 | 1199 | } |
| 1200 | 1200 | @ </td><td style="width:50px;"></td><td valign="top"> |
| 1201 | 1201 | for(pSet=ctrlSettings; pSet->name!=0; pSet++){ |
| 1202 | - if( pSet->width!=0 ){ | |
| 1203 | - entry_attribute(pSet->name, /*pSet->width*/ 40, pSet->name, | |
| 1202 | + if( pSet->width!=0 && !pSet->versionable){ | |
| 1203 | + entry_attribute(pSet->name, /*pSet->width*/ 25, pSet->name, | |
| 1204 | + pSet->var!=0 ? pSet->var : pSet->name, | |
| 1205 | + (char*)pSet->def); | |
| 1206 | + @ <br /> | |
| 1207 | + } | |
| 1208 | + } | |
| 1209 | + @ </td><td style="width:50px;"></td><td valign="top"> | |
| 1210 | + for(pSet=ctrlSettings; pSet->name!=0; pSet++){ | |
| 1211 | + if( pSet->width!=0 && pSet->versionable){ | |
| 1212 | + textarea_attribute(pSet->name, /*rows*/ 3, /*cols*/ 20, pSet->name, | |
| 1204 | 1213 | pSet->var!=0 ? pSet->var : pSet->name, |
| 1205 | 1214 | (char*)pSet->def); |
| 1206 | - if( pSet->versionable ){ | |
| 1207 | - @ (v)<br /> | |
| 1208 | - } else { | |
| 1209 | - @ <br /> | |
| 1210 | - } | |
| 1215 | + @ (v)<br /> | |
| 1211 | 1216 | } |
| 1212 | 1217 | } |
| 1213 | 1218 | @ </td></tr></table> |
| 1214 | 1219 | @ <p><input type="submit" name="submit" value="Apply Changes" /></p> |
| 1215 | 1220 | @ </div></form> |
| 1216 | 1221 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1197,19 +1197,24 @@ | |
| 1197 | } |
| 1198 | } |
| 1199 | } |
| 1200 | @ </td><td style="width:50px;"></td><td valign="top"> |
| 1201 | for(pSet=ctrlSettings; pSet->name!=0; pSet++){ |
| 1202 | if( pSet->width!=0 ){ |
| 1203 | entry_attribute(pSet->name, /*pSet->width*/ 40, pSet->name, |
| 1204 | pSet->var!=0 ? pSet->var : pSet->name, |
| 1205 | (char*)pSet->def); |
| 1206 | if( pSet->versionable ){ |
| 1207 | @ (v)<br /> |
| 1208 | } else { |
| 1209 | @ <br /> |
| 1210 | } |
| 1211 | } |
| 1212 | } |
| 1213 | @ </td></tr></table> |
| 1214 | @ <p><input type="submit" name="submit" value="Apply Changes" /></p> |
| 1215 | @ </div></form> |
| 1216 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1197,19 +1197,24 @@ | |
| 1197 | } |
| 1198 | } |
| 1199 | } |
| 1200 | @ </td><td style="width:50px;"></td><td valign="top"> |
| 1201 | for(pSet=ctrlSettings; pSet->name!=0; pSet++){ |
| 1202 | if( pSet->width!=0 && !pSet->versionable){ |
| 1203 | entry_attribute(pSet->name, /*pSet->width*/ 25, pSet->name, |
| 1204 | pSet->var!=0 ? pSet->var : pSet->name, |
| 1205 | (char*)pSet->def); |
| 1206 | @ <br /> |
| 1207 | } |
| 1208 | } |
| 1209 | @ </td><td style="width:50px;"></td><td valign="top"> |
| 1210 | for(pSet=ctrlSettings; pSet->name!=0; pSet++){ |
| 1211 | if( pSet->width!=0 && pSet->versionable){ |
| 1212 | textarea_attribute(pSet->name, /*rows*/ 3, /*cols*/ 20, pSet->name, |
| 1213 | pSet->var!=0 ? pSet->var : pSet->name, |
| 1214 | (char*)pSet->def); |
| 1215 | @ (v)<br /> |
| 1216 | } |
| 1217 | } |
| 1218 | @ </td></tr></table> |
| 1219 | @ <p><input type="submit" name="submit" value="Apply Changes" /></p> |
| 1220 | @ </div></form> |
| 1221 |