21 Aug
2025
21 Aug
'25
9:20 a.m.
Rémi Bernon (@rbernon) commented about dlls/winebus.sys/main.c:
return dst; }
+static WCHAR *get_device_text(DEVICE_OBJECT *device) +{ + struct device_extension *ext = device->DeviceExtension; + const WCHAR *src = L"WineBus Device"; + DWORD size; + WCHAR *dst; + + if (ext->desc.product[0]) src = ext->desc.product;
Lets make it simpler, I don't think we ever have case where product is missing. ```suggestion:-4+0 const WCHAR *src = ext->desc.product; DWORD size; WCHAR *dst; ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8770#note_113444