msi [3/4]: Set the text limit of the edit control if the limit isgiven

Dmitry Timoshkov dmitry at codeweavers.com
Sun May 6 21:45:53 CDT 2007


"James Hawkins" <truiken at gmail.com> wrote:

> +    text = MSI_RecordGetString( rec, 10 );
> +    if ( text )
> +    {
> +        begin = strchrW( text, '{' );
> +        end = strchrW( text, '}' );

Perhaps it would be cleaner to use

end = strchrW( begin, '}' );

-- 
Dmitry.



More information about the wine-devel mailing list