aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2017-12-10 14:00:18 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-12-24 09:46:54 -0800
commit44251d9dbb411b5e915d28a8c10c3b34cb42abfd (patch)
treeab6bbe0becfcc1203fe219ef1ebc7366d8320cac /src
parentfe29b8c6873c82517a218067abbf56b64cae413b (diff)
downloadalacritty-44251d9dbb411b5e915d28a8c10c3b34cb42abfd.tar.gz
alacritty-44251d9dbb411b5e915d28a8c10c3b34cb42abfd.zip
Refactor darwin code
The ascent calculation on darwin was more complicated than it needed to be. By running a `.ceil()` instead of adding one, checking if it's 0, substracting if it is, and then flooring it, a few instructions could be shaved off.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions