From 9f65a6767198bfef9dfc33928bbd59242636208a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 16 Apr 2015 09:33:21 -0400 Subject: [PATCH] Fixed some errors in the Windows code. --- new/windows/checkbox.c | 2 +- new/windows/entry.c | 2 +- new/windows/label.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/new/windows/checkbox.c b/new/windows/checkbox.c index 65e7652..5d81620 100644 --- a/new/windows/checkbox.c +++ b/new/windows/checkbox.c @@ -94,7 +94,7 @@ static void setChecked(uiCheckbox *c, int checked) SendMessage(hwnd, BM_SETCHECK, check, 0); } -uiControl *uiNewCheckbox(const char *text) +uiCheckbox *uiNewCheckbox(const char *text) { struct checkbox *c; uiWindowsNewControlParams p; diff --git a/new/windows/entry.c b/new/windows/entry.c index 045e553..22c108a 100644 --- a/new/windows/entry.c +++ b/new/windows/entry.c @@ -42,7 +42,7 @@ static void setText(uiEntry *e, const char *text) uiWindowsControlSetText(uiControl(e), text); } -uiControl *uiNewEntry(void) +uiEntry *uiNewEntry(void) { struct entry *e; uiWindowsNewControlParams p; diff --git a/new/windows/label.c b/new/windows/label.c index 1c4ef01..29c03f7 100644 --- a/new/windows/label.c +++ b/new/windows/label.c @@ -41,7 +41,7 @@ static void setText(uiLabel *l, const char *text) uiWindowsControlSetText(uiControl(l), text); } -uiControl *uiNewLabel(const char *text) +uiLabel *uiNewLabel(const char *text) { struct label *l; uiWindowsNewControlParams p;