diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-08-08 12:48:25 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-08-08 12:48:25 (GMT) |
commit | a5f2262ee58a5b2ad966df37de1b04b73acd00f9 (patch) | |
tree | 79dbd6c4593692c57d2adf5728569a81fc5771c8 /globos.py | |
parent | fe70fd7aedaf336c0d84f6b54b75ddd99078583e (diff) |
Fix encoding
Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'globos.py')
-rw-r--r-- | globos.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -# -*- coding: UTF8 -*- +# -*- coding: UTF-8 -*- import os import math @@ -315,9 +315,9 @@ class Globo: alto_ant = self.alto ancho_ant = self.ancho - # si estoy cambiando el tamaƱo desde la derecha o desde abajo - # cambio x / y como para que se calcule como si fuera desde - # arriba y a la izquierda + # if I am changing the size from the right or from the bottom + # change x / y to calculate like if changing from + # top and left if x > self.x: x = 2 * self.x - x if y > self.y: |