From 432e1ede452ae0e7c9e6781d90f7ba2883d03588 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Tue, 26 Jul 2005 00:11:45 +0000 Subject: [PATCH] Bug 301837 followup, fix strict warning, patch by Aaron Keier , r+a=mconnor --- toolkit/content/widgets/preferences.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/content/widgets/preferences.xml b/toolkit/content/widgets/preferences.xml index de425ef67c7b..398445772be8 100644 --- a/toolkit/content/widgets/preferences.xml +++ b/toolkit/content/widgets/preferences.xml @@ -367,7 +367,7 @@ switch (this.type) { case "int": - intValue = parseInt(value, 10) + ''; + var intValue = parseInt(value, 10) + ''; return intValue != "NaN" ? intValue : 0; case "bool": return typeof(value) == "boolean" ? value : value == "true";