1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 14:08:06 +01:00

fixed some bugs

This commit is contained in:
kojima
2004-10-26 03:03:02 +00:00
parent 087a16400f
commit bbd1e5dada
6 changed files with 11 additions and 11 deletions

View File

@@ -1299,7 +1299,7 @@ wWorkspaceRename(WScreen *scr, int workspace, char *name)
tmp = cropline(name);
if (strlen(tmp)==0) {
sprintf(buf, _("Workspace %i"), workspace+1);
snprintf(buf, sizeof(buf), _("Workspace %i"), workspace+1);
} else {
strncpy(buf, tmp, MAX_WORKSPACENAME_WIDTH);
}