From 0a0f6854731736cf9265a73296736983d2adf0b1 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 18 Oct 2021 14:10:56 +0300
Subject: [PATCH] SDL_os2video.c: missed replacing a use of libc function
---
src/video/os2/SDL_os2video.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/video/os2/SDL_os2video.c b/src/video/os2/SDL_os2video.c
index c25b6e5764..8cd7af38e9 100644
--- a/src/video/os2/SDL_os2video.c
+++ b/src/video/os2/SDL_os2video.c
@@ -589,7 +589,7 @@ static MRESULT EXPENTRY wndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
WinQueryPointerPos(HWND_DESKTOP, &pointl);
WinMapWindowPoints(HWND_DESKTOP, pWinData->hwnd, &pointl, 1);
SDL_SendMouseMotion(pWinData->window, 0, 0,
- pointl.x, pWinData->window->h - pointl.y - 1);
+ pointl.x, pWinData->window->h - pointl.y - 1);
} else {
if (SDL_GetKeyboardFocus() == pWinData->window)
SDL_SetKeyboardFocus(NULL);
@@ -1444,7 +1444,7 @@ static int OS2_VideoInit(_THIS)
return SDL_SetError("Window class not successfully registered.");
}
- if (stricmp(_this->name, OS2DRIVER_NAME_VMAN) == 0)
+ if (SDL_strcasecmp(_this->name, OS2DRIVER_NAME_VMAN) == 0)
pVData->pOutput = &voVMan;
else
pVData->pOutput = &voDive;