aboutsummaryrefslogtreecommitdiff
path: root/packages/patches/fix_gui_%_crash-0.42-4.patch
AgeCommit message (Collapse)Author
2009-04-14fixed crasher bug #2030557 caused by % in GUI labels. So it turns out that ↵Hans-Christoph Steiner
BSD's sprintf() isn't as fault-tolerant as GNU's. It was crashing on unescaped %, I guess it was trying to replace them and failing miserably. This patch fixes it by only running the first % pattern thru the sprintf() then just copying the rest before sending it to sys_gui(); svn path=/trunk/; revision=11017