mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-07 02:10:35 +02:00
fixed some bugs
This commit is contained in:
1 parent
087a16400f
commit
bbd1e5dada
6 files changed
+11
-11
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user