summaryrefslogtreecommitdiff
path: root/libmate-desktop/test-ditem.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/test-ditem.c')
-rw-r--r--libmate-desktop/test-ditem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/test-ditem.c b/libmate-desktop/test-ditem.c
index d5cac2d..8ab6d29 100644
--- a/libmate-desktop/test-ditem.c
+++ b/libmate-desktop/test-ditem.c
@@ -91,7 +91,7 @@ test_ditem (const char *file)
"Neu gesetzt!");
getcwd (path, 255 - strlen ("/foo.desktop"));
- strcat (path, "/foo.desktop");
+ g_strlcat (path, "/foo.desktop", sizeof (path));
g_print ("Saving to foo.desktop\n");
uri = g_filename_to_uri (path, NULL, NULL);