diff options
author | Nicolas Boullis <nboullis@debian.org> | 2010-05-10 07:39:20 +0300 |
---|---|---|
committer | Martin-Éric Racine <q-funk@iki.fi> | 2010-05-10 07:39:20 +0300 |
commit | cf69c8bde21ee383b471ca82d70c179dfaf78722 (patch) | |
tree | b3a99bf99ff5f739b9a83759a209d347abc2e6f9 | |
parent | db01a594ac30c730c580bcf9323220b83eb8ce03 (diff) |
Correctly set the name for the user-specified panel mode.
-rw-r--r-- | src/lx_panel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lx_panel.c b/src/lx_panel.c index 7104384..f1d0686 100644 --- a/src/lx_panel.c +++ b/src/lx_panel.c @@ -124,6 +124,7 @@ LXGetManualPanelMode(char *modestr) sprintf(sname, "%dx%d", hactive, vactive); mode->name = xnfalloc(strlen(sname) + 1); + strcpy(mode->name, sname); mode->type = M_T_DRIVER | M_T_PREFERRED; mode->Clock = clock; |