Fossil SCM
Keep the entry boxes filled in on the hash-color-test webpage.
Commit
8d3ff5a7109a51c371a00b152182d8f0c483bc29
Parent
2cd8b61f3cb345e…
1 file changed
+3
-1
+3
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -202,11 +202,13 @@ | ||
| 202 | 202 | } |
| 203 | 203 | @ <form method="post" action="%s(g.zTop)/hash-color-test"> |
| 204 | 204 | @ <p>Enter candidate branch names below and see them displayed in their |
| 205 | 205 | @ default background colors above.</p> |
| 206 | 206 | for(i=0; i<10; i++){ |
| 207 | - @ <input type="text" size="30" name="b%d(i)"><br /> | |
| 207 | + sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i); | |
| 208 | + zBr = P(zNm); | |
| 209 | + @ <input type="text" size="30" name='%s(zNm)' value='%h(PD(zNm,""))'><br /> | |
| 208 | 210 | } |
| 209 | 211 | @ <input type="submit"> |
| 210 | 212 | @ </form> |
| 211 | 213 | style_footer(); |
| 212 | 214 | } |
| 213 | 215 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -202,11 +202,13 @@ | |
| 202 | } |
| 203 | @ <form method="post" action="%s(g.zTop)/hash-color-test"> |
| 204 | @ <p>Enter candidate branch names below and see them displayed in their |
| 205 | @ default background colors above.</p> |
| 206 | for(i=0; i<10; i++){ |
| 207 | @ <input type="text" size="30" name="b%d(i)"><br /> |
| 208 | } |
| 209 | @ <input type="submit"> |
| 210 | @ </form> |
| 211 | style_footer(); |
| 212 | } |
| 213 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -202,11 +202,13 @@ | |
| 202 | } |
| 203 | @ <form method="post" action="%s(g.zTop)/hash-color-test"> |
| 204 | @ <p>Enter candidate branch names below and see them displayed in their |
| 205 | @ default background colors above.</p> |
| 206 | for(i=0; i<10; i++){ |
| 207 | sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i); |
| 208 | zBr = P(zNm); |
| 209 | @ <input type="text" size="30" name='%s(zNm)' value='%h(PD(zNm,""))'><br /> |
| 210 | } |
| 211 | @ <input type="submit"> |
| 212 | @ </form> |
| 213 | style_footer(); |
| 214 | } |
| 215 |