Commit fb6d55c
committed
Fix infinite replace loop if a shader macro was defined to itself
One example affected preset is "martin + Se7enSlasher - pixies party (random texture edit).milk"
Macros with an argument referencing itself may still be problematic, but is WAY less probable to pop up in the wild.1 parent ab6adb2 commit fb6d55c
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3692 | 3692 | | |
3693 | 3693 | | |
3694 | 3694 | | |
3695 | | - | |
3696 | | - | |
3697 | | - | |
3698 | | - | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
3699 | 3707 | | |
3700 | 3708 | | |
3701 | 3709 | | |
| |||
0 commit comments