|
|
Experimental Physics and
| ||||||||||||||
|
|
When I defined only three states for a mbbo record, the following warning message will pop up whenever CA is connected. menuUpdateValueCb: Got state 3. Only have strings for 3 states (starting at 0). Kate:Mset_formatmode A minor patch stops the warining message: diff -c -u medmMenu.c.orig medmMenu.c --- medmMenu.c.orig Tue Jun 10 12:13:27 2003
+++ medmMenu.c Thu Nov 29 07:24:48 2007
@@ -510,7 +510,7 @@
XmNnumChildren,&numChildren,
NULL);
i = (int) pr->value;
- if((i >=0) && (i < (int) numChildren)) {
+ if((i >=0) && (i <= (int) numChildren)) {
XtVaSetValues(widget,XmNmenuHistory,children[i],NULL);
} else {
medmPostMsg(1,"menuUpdateValueCb: Got state %d.\n"
| ||||||||||||||
| ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
· Distributions · Download · Documents · Links · Licensing · |