Fossil SCM
Fix a comment on the "html" and "puts" TH1 commands. Before this fix, the meanings of the two commands were reversed.
Commit
35563f3db308ca3381623642af7e97e2bf3b87788ef21f68e13c8bae62be27d8
Parent
2aa4ef940d287bb…
1 file changed
+1
-1
+1
-1
| --- src/th_main.c | ||
| +++ src/th_main.c | ||
| @@ -416,11 +416,11 @@ | ||
| 416 | 416 | |
| 417 | 417 | /* |
| 418 | 418 | ** TH1 command: puts STRING |
| 419 | 419 | ** TH1 command: html STRING |
| 420 | 420 | ** |
| 421 | -** Output STRING escaped for HTML (html) or unchanged (puts). | |
| 421 | +** Output STRING escaped for HTML (puts) or unchanged (html). | |
| 422 | 422 | */ |
| 423 | 423 | static int putsCmd( |
| 424 | 424 | Th_Interp *interp, |
| 425 | 425 | void *pConvert, |
| 426 | 426 | int argc, |
| 427 | 427 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -416,11 +416,11 @@ | |
| 416 | |
| 417 | /* |
| 418 | ** TH1 command: puts STRING |
| 419 | ** TH1 command: html STRING |
| 420 | ** |
| 421 | ** Output STRING escaped for HTML (html) or unchanged (puts). |
| 422 | */ |
| 423 | static int putsCmd( |
| 424 | Th_Interp *interp, |
| 425 | void *pConvert, |
| 426 | int argc, |
| 427 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -416,11 +416,11 @@ | |
| 416 | |
| 417 | /* |
| 418 | ** TH1 command: puts STRING |
| 419 | ** TH1 command: html STRING |
| 420 | ** |
| 421 | ** Output STRING escaped for HTML (puts) or unchanged (html). |
| 422 | */ |
| 423 | static int putsCmd( |
| 424 | Th_Interp *interp, |
| 425 | void *pConvert, |
| 426 | int argc, |
| 427 |