From a69fa0c124decaf9dde893d367426e5c07e2332e Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Tue, 23 Oct 2001 00:22:04 +0000 Subject: [PATCH] Changed path to vgaddi.dll to use SystemRoot instead of C: svn path=/trunk/; revision=2314 --- reactos/subsys/win32k/objects/dc.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/reactos/subsys/win32k/objects/dc.c b/reactos/subsys/win32k/objects/dc.c index 57a74d944f8..0df3d87d8d4 100644 --- a/reactos/subsys/win32k/objects/dc.c +++ b/reactos/subsys/win32k/objects/dc.c @@ -1,4 +1,4 @@ -/* $Id: dc.c,v 1.26 2001/08/28 18:16:32 jfilby Exp $ +/* $Id: dc.c,v 1.27 2001/10/23 00:22:04 phreak Exp $ * * DC.C - Device context functions * @@ -201,11 +201,7 @@ HDC STDCALL W32kCreateDC(LPCWSTR Driver, /* Get the DDI driver's entry point */ /* FIXME: Retrieve DDI driver name from registry */ -#ifdef DDRIVE_FIX - if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\??\\D:\\reactos\\system32\\drivers\\vgaddi.dll")) == NULL) -#else - if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\??\\C:\\reactos\\system32\\drivers\\vgaddi.dll")) == NULL) -#endif + if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\SystemRoot\\system32\\drivers\\vgaddi.dll")) == NULL) { DPRINT("FindDDIDriver failed\n"); goto Failure;