diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xlibclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xlibclient.c b/src/xlibclient.c index 1aa3590..92411d4 100644 --- a/src/xlibclient.c +++ b/src/xlibclient.c @@ -203,7 +203,7 @@ NestedClientCreateScreen(int scrnIndex, sizeHints.max_height = height; XSetWMNormalHints(pPriv->display, pPriv->window, &sizeHints); - sprintf(windowTitle, "Screen %d", scrnIndex); + snprintf(windowTitle, sizeof(windowTitle), "Screen %d", scrnIndex); XStoreName(pPriv->display, pPriv->window, windowTitle); |