From a33d8062833d1bfec4777145cc484c1d6b9e141f Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 27 Aug 2010 17:07:33 +0200 Subject: some automatic fixes --- module/web/media/default/js/sprintf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/web/media/default') diff --git a/module/web/media/default/js/sprintf.js b/module/web/media/default/js/sprintf.js index 30d9046de..385285340 100644 --- a/module/web/media/default/js/sprintf.js +++ b/module/web/media/default/js/sprintf.js @@ -35,7 +35,7 @@ sprintfWrapper = { min: match[6] || 0, precision: match[8], code: match[9] || '%', - negative: parseInt(arguments[convCount]) < 0 ? true : false, + negative: parseInt(arguments[convCount]) < 0, argument: String(arguments[convCount]) }; } -- cgit v1.2.3