i somehow didn't get this commit, but rule of thumb, the warnings were
there for a reason.
In file included from wmgenmenu.c:22:0:
wmgenmenu.h:319:9: warning: excess elements in array initializer [enabled by
default]
wmgenmenu.h:319:9: warning: (near initialization for 'Games') [enabled by
default]
>From dc914779b090ae7a18f79f7ca237f15e7a8c2d39 Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <[email protected]>
Date: Mon, 11 Apr 2011 06:20:03 +0200
Subject: [PATCH] Amend recent wmgenmenu changes
Raise MAX_NR_APPS to account for the more menu entries
---
util/wmgenmenu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/wmgenmenu.c b/util/wmgenmenu.c
index 18aba9a..f934b38 100644
--- a/util/wmgenmenu.c
+++ b/util/wmgenmenu.c
@@ -16,7 +16,7 @@
#include "../src/wconfig.h"
-#define MAX_NR_APPS 50 /* Maximum number of entries in each apps list */
+#define MAX_NR_APPS 128 /* Maximum number of entries in each apps list */
#define MAX_WMS 10 /* Maximum number of other window managers to check */
#include "wmgenmenu.h"
--
1.7.0.4
--
[-]
mkdir /nonexistent
From dc914779b090ae7a18f79f7ca237f15e7a8c2d39 Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <[email protected]>
Date: Mon, 11 Apr 2011 06:20:03 +0200
Subject: [PATCH] Amend recent wmgenmenu changes
Raise MAX_NR_APPS to account for the more menu entries
---
util/wmgenmenu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/wmgenmenu.c b/util/wmgenmenu.c
index 18aba9a..f934b38 100644
--- a/util/wmgenmenu.c
+++ b/util/wmgenmenu.c
@@ -16,7 +16,7 @@
#include "../src/wconfig.h"
-#define MAX_NR_APPS 50 /* Maximum number of entries in each apps list */
+#define MAX_NR_APPS 128 /* Maximum number of entries in each apps list */
#define MAX_WMS 10 /* Maximum number of other window managers to check */
#include "wmgenmenu.h"
--
1.7.0.4