little fixes

svn path=/trunk/; revision=9830
This commit is contained in:
Thomas Bluemel 2004-06-23 15:30:21 +00:00
parent 411068e4cc
commit 94c3ee3a6a
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: color.c,v 1.42 2004/05/22 22:07:42 navaraf Exp $ */
/* $Id: color.c,v 1.43 2004/06/23 15:30:20 weiden Exp $ */
#include <w32k.h>
// FIXME: Use PXLATEOBJ logicalToSystem instead of int *mapping
@ -519,7 +519,7 @@ NtGdiUpdateColors(HDC hDC)
{
HWND hWnd;
hWnd = IntWindowFromDC(hDC);
hWnd = (HWND)NtUserCallOneParam((DWORD)hDC, ONEPARAM_ROUTINE_WINDOWFROMDC);
if (hWnd == NULL)
{
SetLastWin32Error(ERROR_INVALID_WINDOW_HANDLE);

View file

@ -22,7 +22,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: text.c,v 1.98 2004/06/23 07:31:22 gvg Exp $ */
/* $Id: text.c,v 1.99 2004/06/23 15:30:21 weiden Exp $ */
#include <w32k.h>
#include <ft2build.h>
@ -284,7 +284,7 @@ IntGdiAddFontResource(PUNICODE_STRING FileName, DWORD Characteristics)
if (!NT_SUCCESS(Status))
{
DPRINT("Could not font file: %wZ\n", Filename);
DPRINT("Could not font file: %wZ\n", FileName);
NtGdiDeleteObject(NewFont);
return 0;
}