diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-05-22 14:35:43 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-05-22 14:35:43 -0400 |
commit | 9fa149dd24a8ce18a24d3ab597c2ff34912760c7 (patch) | |
tree | d031e86d75dd9c43121085e1b8e6dc03b3106ea3 | |
parent | 1f9eb879d573454cd3ea321993e72ad2cca65c9d (diff) | |
parent | 5917f973ac72c24570b340ce22b41c116036cdcb (diff) | |
download | cpython-git-9fa149dd24a8ce18a24d3ab597c2ff34912760c7.tar.gz |
Merge with 3.5
-rw-r--r-- | Lib/idlelib/configHandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py index 531efb4b3e..8ac1f6097a 100644 --- a/Lib/idlelib/configHandler.py +++ b/Lib/idlelib/configHandler.py @@ -720,7 +720,7 @@ class IdleConf: actualFont = Font.actual(f) family = actualFont['family'] size = actualFont['size'] - if size < 0: + if size <= 0: size = 10 # if font in pixels, ignore actual size bold = actualFont['weight']=='bold' return (family, size, 'bold' if bold else 'normal') |