diff options
| author | 2025-02-14 07:04:14 +0100 | |
|---|---|---|
| committer | 2025-02-14 07:04:14 +0100 | |
| commit | 92a70be7f23577949bc8c50b736fa37086176e20 (patch) | |
| tree | 382f2b5bea92ca6697478dfc6225a6947f8d5e09 /html.c | |
| parent | Force the Content-Security-Policy header, instead of just suggesting it in th... (diff) | |
| download | snac2-92a70be7f23577949bc8c50b736fa37086176e20.tar.gz snac2-92a70be7f23577949bc8c50b736fa37086176e20.tar.xz snac2-92a70be7f23577949bc8c50b736fa37086176e20.zip | |
Minor string tweak.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1052,8 +1052,8 @@ static xs_html *html_user_body(snac *user, int read_only) | |||
| 1052 | const char *longitude = xs_dict_get_def(user->config, "longitude", ""); | 1052 | const char *longitude = xs_dict_get_def(user->config, "longitude", ""); |
| 1053 | 1053 | ||
| 1054 | if (*latitude && *longitude) { | 1054 | if (*latitude && *longitude) { |
| 1055 | xs *label = xs_fmt(L("%s,%s"), latitude, longitude); | 1055 | xs *label = xs_fmt("%s,%s", latitude, longitude); |
| 1056 | xs *url = xs_fmt(L("https://openstreetmap.org/search?query=%s,%s"), | 1056 | xs *url = xs_fmt("https://openstreetmap.org/search?query=%s,%s", |
| 1057 | latitude, longitude); | 1057 | latitude, longitude); |
| 1058 | 1058 | ||
| 1059 | xs_html_add(top_user, | 1059 | xs_html_add(top_user, |