Index: src/menu_custommap.c
--- src/menu_custommap.c.orig
+++ src/menu_custommap.c
@@ -4,7 +4,7 @@
 // Menu for loading custom maps/episodes
 // Parts of this are also used by the editor's "load map" menu.
 
-char tempbuf[80];
+static char tempbuf[80];
 
 #define CM_NUM_VIS_ITEMS			11
 uchar *custommap_menu[MAXM] = {(7*9)-3,72,  0, cmap_enter, cmap_exit, cmap_scroll, NULL,
