Commit 260deef7 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

gdi32: Constify some variables.

parent 7bdba1b6
......@@ -2332,9 +2332,7 @@ BOOL WINAPI TextOutW(HDC hdc, INT x, INT y, LPCWSTR str, INT count)
*
* See PolyTextOutW.
*/
BOOL WINAPI PolyTextOutA ( HDC hdc, /* [in] Handle to device context */
PPOLYTEXTA pptxt, /* [in] Array of strings */
INT cStrings ) /* [in] Number of strings in array */
BOOL WINAPI PolyTextOutA( HDC hdc, const POLYTEXTA *pptxt, INT cStrings )
{
for (; cStrings>0; cStrings--, pptxt++)
if (!ExtTextOutA( hdc, pptxt->x, pptxt->y, pptxt->uiFlags, &pptxt->rcl, pptxt->lpstr, pptxt->n, pptxt->pdx ))
......@@ -2353,9 +2351,7 @@ BOOL WINAPI PolyTextOutA ( HDC hdc, /* [in] Handle to device conte
* TRUE: Success.
* FALSE: Failure.
*/
BOOL WINAPI PolyTextOutW ( HDC hdc, /* [in] Handle to device context */
PPOLYTEXTW pptxt, /* [in] Array of strings */
INT cStrings ) /* [in] Number of strings in array */
BOOL WINAPI PolyTextOutW( HDC hdc, const POLYTEXTW *pptxt, INT cStrings )
{
for (; cStrings>0; cStrings--, pptxt++)
if (!ExtTextOutW( hdc, pptxt->x, pptxt->y, pptxt->uiFlags, &pptxt->rcl, pptxt->lpstr, pptxt->n, pptxt->pdx ))
......
......@@ -3660,8 +3660,8 @@ BOOL WINAPI UpdateICMRegKeyA(DWORD,LPSTR,LPSTR,UINT);
BOOL WINAPI UpdateICMRegKeyW(DWORD,LPWSTR,LPWSTR,UINT);
#define UpdateICMRegKey WINELIB_NAME_AW(UpdateICMRegKey)
BOOL WINAPI WidenPath(HDC);
BOOL WINAPI PolyTextOutA(HDC,PPOLYTEXTA,INT);
BOOL WINAPI PolyTextOutW(HDC,PPOLYTEXTW,INT);
BOOL WINAPI PolyTextOutA(HDC,const POLYTEXTA*,INT);
BOOL WINAPI PolyTextOutW(HDC,const POLYTEXTW*,INT);
#define PolyTextOut WINELIB_NAME_AW(PolyTextOut)
/* These defines are used by wglSwapLayerBuffers */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment