|
What is the correct forum for posting patches to ImageJ? Below is a
patch against ij137v to correct an issue with adding separators via
plugins.config in a jar file. Specifically, the issue manifests itself
if you attempt to add more than one separator menu item.
-Woody
--- Menus.java~ 2006-10-10 10:42:34.000000000 -0400
+++ Menus.java 2006-10-17 19:12:57.000000000 -0400
@@ -320,7 +320,7 @@
}
void addPluginItem(Menu submenu, String s) {
- if (s.equals("\"-\"")) {
+ if (s.startsWith("\"-\"")) {
// add menu separator if command="-"
addSeparator(submenu);
return;
|