aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_label.c')
-rw-r--r--src/gwin/gwin_label.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gwin/gwin_label.c b/src/gwin/gwin_label.c
index a067953a..88573210 100644
--- a/src/gwin/gwin_label.c
+++ b/src/gwin/gwin_label.c
@@ -129,7 +129,7 @@ void gwinLabelSetBorder(GHandle gh, gBool border) {
}
#endif // GWIN_LABEL_ATTRIBUTE
-static void gwinLabelDraw(GWidgetObject *gw, justify_t justify) {
+static void gwinLabelDraw(GWidgetObject *gw, gJustify justify) {
gCoord w, h;
gColor c;
@@ -173,19 +173,19 @@ static void gwinLabelDraw(GWidgetObject *gw, justify_t justify) {
void gwinLabelDrawJustifiedLeft(GWidgetObject *gw, void *param) {
(void)param;
- gwinLabelDraw(gw, justifyLeft);
+ gwinLabelDraw(gw, gJustifyLeft);
}
void gwinLabelDrawJustifiedRight(GWidgetObject *gw, void *param) {
(void)param;
- gwinLabelDraw(gw, justifyRight);
+ gwinLabelDraw(gw, gJustifyRight);
}
void gwinLabelDrawJustifiedCenter(GWidgetObject *gw, void *param) {
(void)param;
- gwinLabelDraw(gw, justifyCenter);
+ gwinLabelDraw(gw, gJustifyCenter);
}
#undef gh2obj