Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/globos.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2011-08-08 12:48:25 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2011-08-08 12:48:25 (GMT)
commita5f2262ee58a5b2ad966df37de1b04b73acd00f9 (patch)
tree79dbd6c4593692c57d2adf5728569a81fc5771c8 /globos.py
parentfe70fd7aedaf336c0d84f6b54b75ddd99078583e (diff)
Fix encoding
Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'globos.py')
-rw-r--r--globos.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/globos.py b/globos.py
index c072a28..a70923c 100644
--- a/globos.py
+++ b/globos.py
@@ -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: