summaryrefslogtreecommitdiff
path: root/src/widget_label.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-02 19:41:48 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-02 19:41:48 +0000
commit44404eb5063bd5f040c7a4d8605aa3d43e3a968a (patch)
treed9b4fceb80a2abf6103fd6022de80dd3286caaf0 /src/widget_label.c
parent8a14d60d2078b4bcdfc789b1b9794e2008979f02 (diff)
- par uprav
- dopisany credits git-svn-id: http://opensvn.csie.org/tuxanci_ng@8 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/widget_label.c')
-rw-r--r--src/widget_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget_label.c b/src/widget_label.c
index c01fa6b..0cb0929 100644
--- a/src/widget_label.c
+++ b/src/widget_label.c
@@ -29,7 +29,7 @@ void drawWidgetLabel(widget_label_t *p)
drawFont(p->text, p->x, p->y+p->h/2, COLOR_WHITE);
break;
case WIDGET_LABEL_CENTER :
- drawFont(p->text, p->x+p->w/2, p->y, COLOR_WHITE);
+ drawFont(p->text, p->x-p->w/2, p->y, COLOR_WHITE);
break;
}
}