[PD-dev] [ pure-data-Patches-3288939 ] fix GUI hangs due to recentfile patch
SourceForge.net
noreply at sourceforge.net
Tue Apr 19 00:10:12 CEST 2011
Patches item #3288939, was opened at 2011-04-18 17:55
Message generated for change (Comment added) made by elgusanorojo
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: Pending
Resolution: Accepted
Priority: 7
Private: No
Submitted By: IOhannes m zmölnig (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: gusano (elgusanorojo)
Date: 2011-04-19 00:10
Message:
ouch indeed =)
thanx for spotting
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2011-04-18 17: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