[MPlayer-dev-eng] [PATCH] gui/menu: optimize language table.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat Feb 13 23:50:48 CET 2016
Store fixed size 4 entry directly
instead of via pointer.
---
gui/dialog/menu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/dialog/menu.c b/gui/dialog/menu.c
index de6f45f..fcb56fb 100644
--- a/gui/dialog/menu.c
+++ b/gui/dialog/menu.c
@@ -230,7 +230,7 @@ GtkWidget * AddSeparator( GtkWidget * Menu )
typedef struct
{
int id;
- const char * id2;
+ const char id2[4];
const char * name;
} Languages_t;
--
2.7.0
More information about the MPlayer-dev-eng
mailing list