Announcement

Collapse
No announcement yet.

$repeat(x,y) crashes if y<0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • $repeat(x,y) crashes if y<0

    Hi,
    I think winamp crashes if $repeat(x,y) function has a negative value y.
    I "fixed" it this way: "%artist% $repeat(.,$max(1,$add(-$len(%artist%),22))) %title%"

    The $fill function cannot be found, so perhaps it would be better to change the "help-text": $repeat instead of $fill


    I use Winamp 5.2 on a microsoft win2k system.

  • #2
    Sure enough, $repeat(x,-y) causes Winamp to lockup really tight. I was only able to kill the process using Taskmgr. It even fails with third party plugins that call the Advanced Title Formatting routine.

    It would be nice if while fixing this bug in the formatter the developers can allow newline's to again pass through the formatter as they did before 5.2.
    Author of the "Auto Close" and "What's Playing v2" plugins.

    I support the Right to Keep and Arm Bears.

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎