From 9636763a47cc321e8d9190aba7fe44183dd63170 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Mon, 22 Jul 2013 10:36:45 -0400
Subject: [PATCH] added fix to tof/pmenu as per
 http://puredata.hurleur.com/viewtopic.php?pid=37484

---
 externals/tof/src/pmenu_w.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/externals/tof/src/pmenu_w.h b/externals/tof/src/pmenu_w.h
index 24896c993..f3c60a1ae 100644
--- a/externals/tof/src/pmenu_w.h
+++ b/externals/tof/src/pmenu_w.h
@@ -32,7 +32,7 @@ static void pmenu_w_additem(t_pmenu* x, t_symbol *label, int i) {
 	sys_vgui("$%xw add command -label \"%s\" -command {select%x \"%d\"} \n",
                    x, label->s_name, x, i,x,i);
 			   }
-	if ( i == COLUMNBREAK ) sys_vgui("$%xw entryconfigure %i -columnbreak  true \n",x,i);
+	if ( i % COLUMNBREAK == 0 ) sys_vgui("$%xw entryconfigure %i -columnbreak  true \n",x,i);
 			   
 }
 
-- 
GitLab