summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-17 16:10:55 +0000
committeralecpl <alec@alec.pl>2011-09-17 16:10:55 +0000
commit784c0cf54c65967b5fe4e666ecab1d94a4f4e022 (patch)
tree5181aa02a6dc526b952f39bf92ac928e39c83ec0 /program/js
parent47672bfda519f6663c9a92b1039d45d9775bbc0d (diff)
- Fix GCC warning in googiespell.js (#1488090)
Diffstat (limited to 'program/js')
-rw-r--r--program/js/googiespell.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index 7f465687c..e3fdf7d3b 100644
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -167,9 +167,9 @@ this.appendNewMenuItem = function(name, call_back_fn, checker)
this.extra_menu_items.push([name, call_back_fn, checker]);
};
-this.appendCustomMenuBuilder = function(eval, builder)
+this.appendCustomMenuBuilder = function(eval_fn, builder)
{
- this.custom_menu_builder.push([eval, builder]);
+ this.custom_menu_builder.push([eval_fn, builder]);
};
this.setFocus = function()
@@ -462,7 +462,7 @@ this.showErrorWindow = function(elm, id)
var changed = false;
for (var k=0; k<this.custom_menu_builder.length; k++) {
var eb = this.custom_menu_builder[k];
- if(eb[0]((this.results[id]))){
+ if (eb[0](this.results[id])) {
changed = eb[1](this, list, elm);
break;
}