Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Fix missing default values for integer preferences.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Taubert committed Jan 2, 2012
1 parent 6eccac8 commit 5eb8337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-lib/cuddlefish/app-extension/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function setDefaultPrefs() {
branch.setBoolPref(key, val);
break;
case "number":
if (value % 1 == 0) // number must be a integer, otherwise ignore it
if (val % 1 == 0) // number must be a integer, otherwise ignore it
branch.setIntPref(key, val);
break;
case "string":
Expand Down

0 comments on commit 5eb8337

Please sign in to comment.