winex11.drv: Write-strings warning fix.

This commit is contained in:
Andrew Talbot 2006-06-26 20:56:16 +01:00 committed by Alexandre Julliard
parent baf38b3007
commit 55e20a7482
1 changed files with 3 additions and 1 deletions

View File

@ -411,8 +411,10 @@ void X11DRV_set_wm_hints( Display *display, struct x11drv_win_data *data )
/* class hints */
if ((class_hints = XAllocClassHint()))
{
static char wine[] = "Wine";
class_hints->res_name = process_name;
class_hints->res_class = "Wine";
class_hints->res_class = wine;
XSetClassHint( display, data->whole_window, class_hints );
XFree( class_hints );
}