diff options
| author | 2025-01-10 08:47:01 +0100 | |
|---|---|---|
| committer | 2025-01-10 08:47:01 +0100 | |
| commit | 9fec8fc5ca8b3a45510183b839f15375c2a66695 (patch) | |
| tree | 31ea1af6f442adea1969f51d39e128ac84962d1a | |
| parent | Fixed crash in msg_place() because I'm a moron. (diff) | |
| download | penes-snac2-9fec8fc5ca8b3a45510183b839f15375c2a66695.tar.gz penes-snac2-9fec8fc5ca8b3a45510183b839f15375c2a66695.tar.xz penes-snac2-9fec8fc5ca8b3a45510183b839f15375c2a66695.zip | |
Fixed crash.
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2227,7 +2227,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 2227 | /* show all hashtags that has not been shown previously in the content */ | 2227 | /* show all hashtags that has not been shown previously in the content */ |
| 2228 | const xs_list *tags = xs_dict_get(msg, "tag"); | 2228 | const xs_list *tags = xs_dict_get(msg, "tag"); |
| 2229 | if (xs_type(tags) == XSTYPE_LIST && xs_list_len(tags)) { | 2229 | if (xs_type(tags) == XSTYPE_LIST && xs_list_len(tags)) { |
| 2230 | const char *o_content = xs_dict_get(msg, "content"); | 2230 | const char *o_content = xs_dict_get_def(msg, "content", ""); |
| 2231 | xs *content = xs_utf8_to_lower(o_content); | 2231 | xs *content = xs_utf8_to_lower(o_content); |
| 2232 | const xs_dict *tag; | 2232 | const xs_dict *tag; |
| 2233 | 2233 | ||