From 7f2194c3837603f47701734a6c60c8826395232b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 24 Jan 2016 21:50:10 -0500 Subject: [PATCH] Typo fixes in the previous commit. --- darwin/area.m | 2 +- ui.h | 2 +- unix/area.c | 2 +- windows/area.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/darwin/area.m b/darwin/area.m index fee1044c..baab2f23 100644 --- a/darwin/area.m +++ b/darwin/area.m @@ -346,7 +346,7 @@ void uiAreaQueueRedrawAll(uiArea *a) [a->area setNeedsDisplay:YES]; } -void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height) +void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height) { if (!a->scrolling) complain("attempt to call uiAreaScrollTo() on a non-scrolling uiArea"); diff --git a/ui.h b/ui.h index 62f10b4b..0deb134c 100644 --- a/ui.h +++ b/ui.h @@ -284,7 +284,7 @@ _UI_EXTERN uintmax_t uiMenuItemType(void); _UI_EXTERN void uiAreaSetSize(uiArea *a, intmax_t width, intmax_t height); // TODO uiAreaQueueRedraw() _UI_EXTERN void uiAreaQueueRedrawAll(uiArea *a); -_UI_EXTERN void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height); +_UI_EXTERN void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height); _UI_EXTERN uiArea *uiNewArea(uiAreaHandler *ah); _UI_EXTERN uiArea *uiNewScrollingArea(uiAreaHandler *ah, intmax_t width, intmax_t height); diff --git a/unix/area.c b/unix/area.c index ca26e666..5462e211 100644 --- a/unix/area.c +++ b/unix/area.c @@ -501,7 +501,7 @@ void uiAreaQueueRedrawAll(uiArea *a) gtk_widget_queue_draw(a->areaWidget); } -void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height) +void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height) { // TODO // TODO adjust adjustments and find source for that diff --git a/windows/area.c b/windows/area.c index 17070158..b33d574d 100644 --- a/windows/area.c +++ b/windows/area.c @@ -98,7 +98,7 @@ void uiAreaQueueRedrawAll(uiArea *a) logLastError("error queueing uiArea redraw in uiAreaQueueRedrawAll()"); } -void uiAreaScrollTo(uiArea *a, double x, double y, double with, double height) +void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height) { // TODO }