summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pico/pico.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pico/pico.c b/pico/pico.c
index 67e98596..d4ceb97e 100644
--- a/pico/pico.c
+++ b/pico/pico.c
@@ -1932,6 +1932,7 @@ free_pico_module_globals(void)
{
int i;
+#ifdef MOUSE
for(i = 0; i < 12; i++){
if(menuitems[i].kncp)
free_color_pair(&menuitems[i].kncp);
@@ -1942,6 +1943,8 @@ free_pico_module_globals(void)
menuitems[i].label = NULL;
}
}
+#endif /* MOUSE */
+
}