diff options
-rw-r--r-- | ext/tk/sample/tkextlib/treectrl/help.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tkextlib/treectrl/help.rb b/ext/tk/sample/tkextlib/treectrl/help.rb index e3758d00a6..251330277b 100644 --- a/ext/tk/sample/tkextlib/treectrl/help.rb +++ b/ext/tk/sample/tkextlib/treectrl/help.rb @@ -382,7 +382,7 @@ def helpMotion2(w, x, y) if id[0] == 'header' elsif !id.empty? item = id[1] - if id.kength == 6 + if id.length == 6 if @Priv[:help, :prev] != TkComm._get_eval_string(item) if @Priv[:help, :prev] != '' style = w.item_style_set(@Priv[:help, :prev], 0) |