2012/1/5 Jörg-Volker Peetz
> Please find attached the changed version of fix-580495.patch.

Had a chance to look at this today.  The following only works when
compiled in debug mode.

@ -249,6 +257,8 @@
   int pg;
   double z;

+  assert(nZoomMenuItems == sizeof(zoomMenuInfo)/sizeof(struct ZoomMenuInfo));
+
   app = appA;
   win = NULL;
   core = NULL;

I can see where you're coming from on this check, but I think it would
make more sense just to calculate it.  Can you adjust the logic so
that the value of nZoomMenuItems is calculated instead of defined?

Thanks,
Mike



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to