1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00
putty-source/icons
Colin Watson 30c7fec67e mkicon.py: Work around Python 3's round() semantics.
Python 3 changed the built-in round() function to use round-to-even for
exact half-way cases.  While this eliminates a bias away from zero and
is thus a better choice in many cases, it's not what mkicon.py expected.

Shadow the built-in with an invocation of the decimal module instead:
this produces identical results for mkicon.py's purposes on both Python
2 and 3.
2019-08-31 13:15:17 +01:00
..
cicon.pl Shiny new script which constructs the various icons for the PuTTY 2007-01-06 18:15:35 +00:00
icon.pl Improve error reporting. 2007-01-22 14:04:33 +00:00
macicon.py Use NetPBM .pam as an intermediate format in the icon makefile. 2016-03-23 06:58:56 +00:00
Makefile Make an OS X icon for pterm as well as PuTTY. 2016-03-23 22:02:46 +00:00
mkicon.py mkicon.py: Work around Python 3's round() semantics. 2019-08-31 13:15:17 +01:00