aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/multiple
diff options
context:
space:
mode:
authorAndrew Hannam <Andrew Hannam>2016-07-25 19:25:55 +1000
committerAndrew Hannam <Andrew Hannam>2016-07-25 19:25:55 +1000
commit9fe1abe9e3155445a1c7db8ddad7169f7d52f937 (patch)
tree49c32164ce4bb5ca3e93054821cb98562275c00a /drivers/multiple
parent5fe88d6371ae9bb81a3a58163e8f6d5294c75789 (diff)
downloaduGFX-9fe1abe9e3155445a1c7db8ddad7169f7d52f937.tar.gz
uGFX-9fe1abe9e3155445a1c7db8ddad7169f7d52f937.tar.bz2
uGFX-9fe1abe9e3155445a1c7db8ddad7169f7d52f937.zip
Compile fix for Win32
Diffstat (limited to 'drivers/multiple')
-rw-r--r--drivers/multiple/Win32/gdisp_lld_Win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/multiple/Win32/gdisp_lld_Win32.c b/drivers/multiple/Win32/gdisp_lld_Win32.c
index 6ad952a5..15a80cd3 100644
--- a/drivers/multiple/Win32/gdisp_lld_Win32.c
+++ b/drivers/multiple/Win32/gdisp_lld_Win32.c
@@ -460,7 +460,7 @@ void gfxEmulatorSetParentWindow(HWND hwnd) {
winPriv * priv;
priv = (winPriv *)g->priv;
- priv->mouseubttons = buttons;
+ priv->mousebuttons = buttons;
priv->mousex = x;
priv->mousey = y;
if ((gmvmt(priv->mouse)->d.flags & GMOUSE_VFLG_NOPOLL)) // For normal setup this is always TRUE
@@ -625,7 +625,7 @@ static LRESULT myWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
mousemove:
if (priv->capfn)
- priv->capfn(hWnd, g, btns, (coord_t)LOWORD(lParam), (coord_t)HIWORD(lParam))
+ priv->capfn(hWnd, g, btns, (coord_t)LOWORD(lParam), (coord_t)HIWORD(lParam));
if (priv->mouseenabled) {
priv->mousebuttons = btns;
priv->mousex = (coord_t)LOWORD(lParam);
@@ -878,7 +878,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
// Create the associated mouse
#if GINPUT_NEED_MOUSE
- priv->mouseenabled = hwndParent ? FALSE : TRUE;
+ priv->mouseenabled = hWndParent ? FALSE : TRUE;
priv->mouse = (GMouse *)gdriverRegister((const GDriverVMT const *)GMOUSE_DRIVER_VMT, g);
#endif