glx/glvnd: list the strcmp arguments in correct order
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 1 Sep 2016 09:36:44 +0000 (10:36 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 5 Sep 2016 10:59:07 +0000 (11:59 +0100)
commit62b224d428e04760dc96afb93873d67683337f88
tree61bcd983c976ef037b6fb5bb6e7b1a81306e422b
parent821e36638531ddadb32d5bac633c0b21c73bea67
glx/glvnd: list the strcmp arguments in correct order

Currently, due to the inverse order, strcmp will produce negative result
when the needle is towards the start of the haystack. Thus on the next
iteration(s) we'll end up further towards the end and eventually fail to
locate the entry.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/glx/glxglvnd.c