Fix array size typo in timeleft.sma plugin

Reported by CryWolf through private message (thanks!).
As note, typo was inserted in last commit (3abd842).
This commit is contained in:
Vincent Herbet 2014-06-24 23:31:16 +02:00
parent 63322c9f2f
commit 006e6e967a

View File

@ -173,7 +173,7 @@ setTimeVoice(text[], len, flags, tmlf)
if (mins > 0)
{
num_to_word(mins, temp[2], charsmax(temp))
num_to_word(mins, temp[2], charsmax(temp[]))
if ( ~flags & TD_NO_HOURS_MINS_SECS_VOICE )
temp[3] = "minutes "
@ -290,4 +290,4 @@ public timeRemain(param[])
}
}
}
}
}