summaryrefslogtreecommitdiff
path: root/src/view/detail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/detail.c')
-rw-r--r--src/view/detail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/detail.c b/src/view/detail.c
index a182fb0..629f210 100644
--- a/src/view/detail.c
+++ b/src/view/detail.c
@@ -627,7 +627,7 @@ static void _get_place_title(const char *title, char *str, int size)
if (country) {
snprintf(s, sizeof(s), ", %s", country);
- strcat(str, s);
+ strncat(str, s, strlen(s));
}
}