diff options
Diffstat (limited to 'ext/tk/lib/tk/font.rb')
-rw-r--r-- | ext/tk/lib/tk/font.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tk/font.rb b/ext/tk/lib/tk/font.rb index 8e63558cae..73e0ac4682 100644 --- a/ext/tk/lib/tk/font.rb +++ b/ext/tk/lib/tk/font.rb @@ -1186,13 +1186,13 @@ class TkFont def dup src = self obj = super() - obj.instance_eval{ initialize(src) } + obj.fcall(:initialize, src) obj end def clone src = self obj = super() - obj.instance_eval{ initialize(src) } + obj.fcall(:initialize, src) obj end =end |