mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 23:12:04 +00:00
Check for error.
svn path=/trunk/; revision=43431
This commit is contained in:
parent
bb99554339
commit
dd487188b9
1 changed files with 4 additions and 0 deletions
|
@ -916,6 +916,10 @@ GetGlyphIndicesA(
|
|||
INT countW;
|
||||
|
||||
lpstrW = FONT_mbtowc(hdc, lpstr, count, &countW, NULL);
|
||||
|
||||
if (lpstrW == NULL)
|
||||
return GDI_ERROR;
|
||||
|
||||
Ret = NtGdiGetGlyphIndicesW(hdc, lpstrW, countW, pgi, flags);
|
||||
HeapFree(GetProcessHeap(), 0, lpstrW);
|
||||
return Ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue