diff options
| author | 2022-12-04 11:50:20 +0100 | |
|---|---|---|
| committer | 2022-12-04 11:50:20 +0100 | |
| commit | 785c859ce3d0bb19264f3dbd075b6825932ab8d0 (patch) | |
| tree | eee9c61acc6bfd0f525c6b37fa5fcb6b5975dfaf /html.c | |
| parent | Merge pull request 'Add an option to always show sensitive content' (#9) from... (diff) | |
| download | snac2-785c859ce3d0bb19264f3dbd075b6825932ab8d0.tar.gz snac2-785c859ce3d0bb19264f3dbd075b6825932ab8d0.tar.xz snac2-785c859ce3d0bb19264f3dbd075b6825932ab8d0.zip | |
Match the CW checkbox status to what is currently configured.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -323,7 +323,7 @@ d_char *html_top_controls(snac *snac, d_char *s) | |||
| 323 | xs_dict_get(snac->config, "avatar"), | 323 | xs_dict_get(snac->config, "avatar"), |
| 324 | L("Bio"), | 324 | L("Bio"), |
| 325 | xs_dict_get(snac->config, "bio"), | 325 | xs_dict_get(snac->config, "bio"), |
| 326 | xs_dict_get(snac->config, "cw"), | 326 | strcmp(xs_dict_get(snac->config, "cw"), "open") == 0 ? "checked" : "", |
| 327 | L("Always show sensitive content"), | 327 | L("Always show sensitive content"), |
| 328 | L("Email address for notifications"), | 328 | L("Email address for notifications"), |
| 329 | email, | 329 | email, |