Some software writes hex values with 0X prefix, e.g. 0X0033 instead of 0x0033. It makes sense to do case-insensitive comparison with "0x" string. -------------- next part -------------- A non-text attachment was scrubbed... Name: strncase_0x.patch Type: application/octet-stream Size: 1356 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20150808/89dba0c3/attachment.obj
Erik de Castro Lopo
2015-Aug-11 09:44 UTC
[flac-dev] [PATCH] case-insensitive comparison with "0x"
lvqcl wrote:> Some software writes hex values with 0X prefix, e.g. 0X0033 instead of 0x0033. > It makes sense to do case-insensitive comparison with "0x" string.Applied. Thanks. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/