From 006e6e967a5a7637ea9e98c08b4de6e4c20623b1 Mon Sep 17 00:00:00 2001 From: Vincent Herbet Date: Tue, 24 Jun 2014 23:31:16 +0200 Subject: [PATCH] Fix array size typo in timeleft.sma plugin Reported by CryWolf through private message (thanks!). As note, typo was inserted in last commit (3abd842). --- plugins/timeleft.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/timeleft.sma b/plugins/timeleft.sma index fe91fb5b..5c67c58e 100755 --- a/plugins/timeleft.sma +++ b/plugins/timeleft.sma @@ -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[]) } } } -} \ No newline at end of file +}