Re: [ros-diffs] 01/01: [USERSRV] HardError: Fix compilation warning; fix few comments; fix the default empty window title string.

Thomas Faber <[email protected]>
Newsgroups gmane.os.reactos.kernel
Message-ID <[email protected]>
On 2018-04-08 16:17, Hermès Bélusca-Maïto wrote:
>       /* Retrieve the window title of the client, if it has one */
> -    RtlInitEmptyUnicodeString(&WindowTitleU, NULL, 0);
> +    RtlInitEmptyUnicodeString(&WindowTitleU, L"", 0);

This looks like a bug. Can you explain why you think it's necessary please?

In particular, it will break this:

if (WindowTitleU.Buffer) RtlFreeUnicodeString(&WindowTitleU);


Thanks,
Thomas

_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.