Fossil SCM

Pedantically added a missing /LI closer. Changed /help for pages to 5 cols, so the width more or less aligns with the 7-col command help (page names are longer than command names).

stephan 2013-02-20 22:35 UTC help-www
Commit 6ca6624499718ab3cf5de9c40f9b4a9ec2dad9ce
1 file changed +2 -2
+2 -2
--- src/main.c
+++ src/main.c
@@ -1085,11 +1085,11 @@
10851085
const char *z = aCommand[i].zName;
10861086
if( '/'==*z || strncmp(z,"test",4)==0 ) continue;
10871087
if( j==0 ){
10881088
@ <td valign="top"><ul>
10891089
}
1090
- @ <li><a href="%s(g.zTop)/help?cmd=%s(z)">%s(z)</a>
1090
+ @ <li><a href="%s(g.zTop)/help?cmd=%s(z)">%s(z)</a></li>
10911091
j++;
10921092
if( j>=n ){
10931093
@ </ul></td>
10941094
j = 0;
10951095
}
@@ -1105,11 +1105,11 @@
11051105
for(i=j=0; i<count(aCommand); i++){
11061106
const char *z = aCommand[i].zName;
11071107
if( '/'!=*z ) continue;
11081108
j++;
11091109
}
1110
- n = (j+5)/6;
1110
+ n = (j+4)/5;
11111111
for(i=j=0; i<count(aCommand); i++){
11121112
const char *z = aCommand[i].zName;
11131113
if( '/'!=*z ) continue;
11141114
if( j==0 ){
11151115
@ <td valign="top"><ul>
11161116
--- src/main.c
+++ src/main.c
@@ -1085,11 +1085,11 @@
1085 const char *z = aCommand[i].zName;
1086 if( '/'==*z || strncmp(z,"test",4)==0 ) continue;
1087 if( j==0 ){
1088 @ <td valign="top"><ul>
1089 }
1090 @ <li><a href="%s(g.zTop)/help?cmd=%s(z)">%s(z)</a>
1091 j++;
1092 if( j>=n ){
1093 @ </ul></td>
1094 j = 0;
1095 }
@@ -1105,11 +1105,11 @@
1105 for(i=j=0; i<count(aCommand); i++){
1106 const char *z = aCommand[i].zName;
1107 if( '/'!=*z ) continue;
1108 j++;
1109 }
1110 n = (j+5)/6;
1111 for(i=j=0; i<count(aCommand); i++){
1112 const char *z = aCommand[i].zName;
1113 if( '/'!=*z ) continue;
1114 if( j==0 ){
1115 @ <td valign="top"><ul>
1116
--- src/main.c
+++ src/main.c
@@ -1085,11 +1085,11 @@
1085 const char *z = aCommand[i].zName;
1086 if( '/'==*z || strncmp(z,"test",4)==0 ) continue;
1087 if( j==0 ){
1088 @ <td valign="top"><ul>
1089 }
1090 @ <li><a href="%s(g.zTop)/help?cmd=%s(z)">%s(z)</a></li>
1091 j++;
1092 if( j>=n ){
1093 @ </ul></td>
1094 j = 0;
1095 }
@@ -1105,11 +1105,11 @@
1105 for(i=j=0; i<count(aCommand); i++){
1106 const char *z = aCommand[i].zName;
1107 if( '/'!=*z ) continue;
1108 j++;
1109 }
1110 n = (j+4)/5;
1111 for(i=j=0; i<count(aCommand); i++){
1112 const char *z = aCommand[i].zName;
1113 if( '/'!=*z ) continue;
1114 if( j==0 ){
1115 @ <td valign="top"><ul>
1116

Keyboard Shortcuts

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