[PD-dev] [ pure-data-Patches-3288939 ] fix GUI hangs due to recentfile patch
SourceForge.net
noreply at sourceforge.net
Mon May 2 18:20:03 CEST 2011
Patches item #3288939, was opened at 2011-04-18 15:55
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3288939&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
>Status: Closed
Resolution: Accepted
Priority: 7
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: fix GUI hangs due to recentfile patch
Initial Comment:
patch #3234958 (git rev 31b22b6918b033) hangs Pd, if the list of recent files is empty (e.g. because you just installed the patch).
this is due to a "while(--i)" loop with "i" initialized to 0
ouch!
attached patch fixes this by changing the loop to "while(--i > 0)"
it also fixes a typo in the doc
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2011-05-02 16:20
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: gusano (elgusanorojo)
Date: 2011-04-18 22:10
Message:
ouch indeed =)
thanx for spotting
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2011-04-18 15:58
Message:
Of course, the best way is (while i--) :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3288939&group_id=55736
More information about the Pd-dev
mailing list