Skip to content
Snippets Groups Projects
Commit 04a0f74b authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard
Browse files

ddraw: Write-strings warnings fix.

parent 4e474034
No related branches found
No related tags found
No related merge requests found
......@@ -390,7 +390,10 @@ DirectDrawEnumerateA(LPDDENUMCALLBACKA Callback,
/* We only have one driver */
__TRY
{
stop = !Callback(NULL, "DirectDraw HAL", "display", Context);
static CHAR driver_desc[] = "DirectDraw HAL",
driver_name[] = "display";
stop = !Callback(NULL, driver_desc, driver_name, Context);
}
__EXCEPT_PAGE_FAULT
{
......@@ -422,8 +425,11 @@ DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA Callback,
/* We only have one driver by now */
__TRY
{
static CHAR driver_desc[] = "DirectDraw HAL",
driver_name[] = "display";
/* QuickTime expects the description "DirectDraw HAL" */
stop = !Callback(NULL, "DirectDraw HAL", "display", Context, 0);
stop = !Callback(NULL, driver_desc, driver_name, Context, 0);
}
__EXCEPT_PAGE_FAULT
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment