1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 15:18:00 +01:00

always specify the radix arg when calling parseInt rather than rely on it

'guessing' correctly
This commit is contained in:
Doug Kearns
2007-10-31 04:28:53 +00:00
parent d17af4b6d9
commit 4646046bbb
5 changed files with 11 additions and 11 deletions

View File

@@ -195,7 +195,7 @@ const vimperator = (function() //{{{
// Number
else if (match = string.match(/^(\d+)$/))
{
return parseInt(match[1]);
return parseInt(match[1], 10);
}
var reference = this.variableReference(string);