<div class="markdown_content"><hr />
<p><strong> <a class="alink" href="http://sourceforge.net/p/pure-data/patches/546">[patches:#546]</a> moonlib/mknob fix for pd-vanilla</strong></p>
<p><strong>Status:</strong> open<br />
<strong>Group:</strong> bugfix<br />
<strong>Labels:</strong> pd-vanilla-compatibility moonlib <br />
<strong>Created:</strong> Sun May 03, 2015 09:11 AM UTC by electrickery<br />
<strong>Last Updated:</strong> Sun May 03, 2015 09:11 AM UTC<br />
<strong>Owner:</strong> nobody</p>
<p>The moonlib/mknob objects uses the t_iem_init_symargs->x_reverse struct element<br />
inside the t_iemgui struct. This element appears to be pd-extended only, as<br />
the object will not build against pd-vanilla (0.46.6) headers. Loading the<br />
object in a pd-vanilla environment will probably result in undesired behaviour.</p>
<p>The x_reverse is set in mknob_check_minmax as the result of (x->x_min > x->x_max)<br />
and used only in mknob_set. By moving the "min > max" check to mknob_set, the<br />
x->x_gui.x_isa.x_reverse can be eliminated, and pd-vanilla compatibility restored.</p>
<hr />
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="https://sourceforge.net/p/pure-data/patches">https://sourceforge.net/p/pure-data/patches/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/pure-data/admin/patches/options.">https://sourceforge.net/p/pure-data/admin/patches/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>