diff --git a/examples/shutter.rb b/examples/shutter.rb index 136f93e071d64b096a0b26b8f456ce6917c618cd..765550016f7d08e2a6b8500626bc11cb995e3c1c 100755 --- a/examples/shutter.rb +++ b/examples/shutter.rb @@ -139,7 +139,7 @@ class ShutterWindow < FXMainWindow def create super - @shutter.width = 1.25*@shutter.width + @shutter.width = (1.25*@shutter.width).to_i show(PLACEMENT_SCREEN) end end