mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
fix crash while loading PowerPoint 2003 Viewer
See issue #4624 for more details. svn path=/trunk/; revision=41598
This commit is contained in:
@@ -36,7 +36,7 @@ IntCreateDICW ( LPCWSTR lpwszDriver,
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lpwszDevice) // First
|
||||
if ((lpwszDevice) && (wcslen(lpwszDevice) != 0)) // First
|
||||
{
|
||||
if (!_wcsnicmp(lpwszDevice, L"\\\\.\\DISPLAY",11)) Display = TRUE;
|
||||
RtlInitUnicodeString(&Device, lpwszDevice);
|
||||
|
||||
Reference in New Issue
Block a user