[vlc-devel] [PATCH] dwrite: fix family name lookup

Salah-Eddin Shaban salah at videolan.org
Tue Mar 27 14:15:27 CEST 2018


On Tue, Mar 27, 2018 at 11:08 AM, Hugo Beauzée-Luyssen <hugo at beauzee.fr> wrote:
> Hey Salah!
>

Hello all :)

>> +    bool b_styles[ 2 ][ 2 ] = { false };
>
> Beware that this will only explicitely initialize b_styles[0][0] to false, the rest of the array will be default constructed (and therefor initialized to false as well, but this is probably not what you expect)
>

Yes, this is the intended behavior. I added a comment to make it clearer.

I have updated the patch to address the remaining points and to
explain things better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dwrite-fix-family-name-lookup.patch
Type: text/x-patch
Size: 13450 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180327/993a11f5/attachment.bin>


More information about the vlc-devel mailing list