aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--calmwm.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/calmwm.h b/calmwm.h
index c6f9511..4b17075 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.254 2014/01/30 22:17:22 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.255 2014/02/02 15:46:05 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -259,10 +259,9 @@ TAILQ_HEAD(keybinding_q, binding);
TAILQ_HEAD(mousebinding_q, binding);
struct cmd {
- TAILQ_ENTRY(cmd) entry;
-#define CMD_MAXNAMELEN 256
- char name[CMD_MAXNAMELEN];
- char path[MAXPATHLEN];
+ TAILQ_ENTRY(cmd) entry;
+ char *name;
+ char path[MAXPATHLEN];
};
TAILQ_HEAD(cmd_q, cmd);