projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Coverity fixes
[claws.git]
/
src
/
prefs_themes.c
diff --git
a/src/prefs_themes.c
b/src/prefs_themes.c
index 9f02566754f5cddd096bba87d2fbdacfddd649d5..0b4ad1b1b4bfff5bd3484366aa840954e1975dfb 100644
(file)
--- a/
src/prefs_themes.c
+++ b/
src/prefs_themes.c
@@
-704,7
+704,7
@@
static void prefs_themes_display_global_stats(const ThemesData *tdata)
if (line[len - 1] == '\n') line[len - 1] = '\0'; \
} \
else { \
-
strcpy(line, _("Unknown"
)); \
+
g_strlcpy(line, _("Unknown"),sizeof(line
)); \
}
static void prefs_themes_get_theme_info(ThemesData *tdata)