Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9fa149d

Browse files
committed
Merge with 3.5
2 parents 1f9eb87 + 5917f97 commit 9fa149d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/configHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def GetFont(self, root, configType, section):
720720
actualFont = Font.actual(f)
721721
family = actualFont['family']
722722
size = actualFont['size']
723-
if size < 0:
723+
if size <= 0:
724724
size = 10 # if font in pixels, ignore actual size
725725
bold = actualFont['weight']=='bold'
726726
return (family, size, 'bold' if bold else 'normal')

0 commit comments

Comments
 (0)