diff options
Diffstat (limited to 'src/iconmgr.c')
-rw-r--r-- | src/iconmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iconmgr.c b/src/iconmgr.c index d2d611e..e0fea0a 100644 --- a/src/iconmgr.c +++ b/src/iconmgr.c @@ -93,8 +93,8 @@ void CreateIconManagers() JunkX, JunkY, p->width, p->height, 1, Scr->Black, background); - sprintf(str, "%s Icon Manager", p->name); - sprintf(str1, "%s Icons", p->name); + snprintf(str, sizeof(str), "%s Icon Manager", p->name); + snprintf(str1, sizeof(str1), "%s Icons", p->name); if (p->icon_name) icon_name = p->icon_name; else |