Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Delete () not needed for 1 line.
  • Loading branch information
terryjreedy committed May 25, 2019
commit 4d885e37c46c75bb023b84f0311d3017da5c4e64
2 changes: 1 addition & 1 deletion Lib/idlelib/zoomheight.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def zoom_height(top):
(22, 88) if macosx.isAquaTk() else
(0, 88) ) # Guess for anything else.
newheight = newheight - newy - bot_y
newgeom = ('' if height >= newheight else f"{width}x{newheight}+{x}+{newy}")
newgeom = '' if height >= newheight else f"{width}x{newheight}+{x}+{newy}"
top.wm_geometry(newgeom)
return newgeom != ""

Expand Down