mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[USER32] RegisterClipboardFormatA(): Enable a SetLastError() (#1612)
This commit is contained in:
parent
b8013fce52
commit
7804cf035a
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ RegisterClipboardFormatA(LPCSTR lpszFormat)
|
|||
|
||||
if (!RtlCreateUnicodeStringFromAsciiz(&usFormat, lpszFormat))
|
||||
{
|
||||
// FIXME: Shouldn't we 'SetLastError(ERROR_NOT_ENOUGH_MEMORY);'?
|
||||
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue