Commit 04a0f74b authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

ddraw: Write-strings warnings fix.

parent 4e474034
...@@ -390,7 +390,10 @@ DirectDrawEnumerateA(LPDDENUMCALLBACKA Callback, ...@@ -390,7 +390,10 @@ DirectDrawEnumerateA(LPDDENUMCALLBACKA Callback,
/* We only have one driver */ /* We only have one driver */
__TRY __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 __EXCEPT_PAGE_FAULT
{ {
...@@ -422,8 +425,11 @@ DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA Callback, ...@@ -422,8 +425,11 @@ DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA Callback,
/* We only have one driver by now */ /* We only have one driver by now */
__TRY __TRY
{ {
static CHAR driver_desc[] = "DirectDraw HAL",
driver_name[] = "display";
/* QuickTime expects the description "DirectDraw HAL" */ /* 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 __EXCEPT_PAGE_FAULT
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment