diff --git a/pd/src/s_midi.c b/pd/src/s_midi.c
index 5d6886e2697ff38849664e04fe79da6606d3d398..aff57da246a40c7525eba335807ff816fcec15b0 100644
--- a/pd/src/s_midi.c
+++ b/pd/src/s_midi.c
@@ -486,8 +486,8 @@ void sys_pollmidiqueue( void)
 
 /******************** dialog window and device listing ********************/
 
-#define MAXNDEV 20
-#define DEVDESCSIZE 80
+#define MAXNDEV 128
+#define DEVDESCSIZE 1024
 
 #define DEVONSET 1  /* To agree with command line flags, normally start at 1 */