aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-28 18:08:31 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-28 18:08:31 +0100
commit7a9dce33e5a28fcb9200be4b8e1dba59e63115ad (patch)
treea4f4a1c6ae62e3972e470e64d697ed1aa1031cb9
parentbasic box drawing (diff)
downloadxpybar-7a9dce33e5a28fcb9200be4b8e1dba59e63115ad.tar.gz
xpybar-7a9dce33e5a28fcb9200be4b8e1dba59e63115ad.tar.bz2
xpybar-7a9dce33e5a28fcb9200be4b8e1dba59e63115ad.tar.xz
whops
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xsrc/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/__main__.py b/src/__main__.py
index ab65f47..d102fb5 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -160,7 +160,7 @@ class Bar:
for c in text + '\0':
if c in special:
if not buf == '':
- self.window.draw_text(self.gc, x, y, buf)
+ draw_text(self.window, self.gc, x, y, buf)
x += self.text_width(buf)
buf = ''
if not c == '\0':