X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreeglut_misc.c;h=8c376ebc7749cd1c618bfa9ecbb1abfea90b2409;hb=bffa189dd239efb45ec53bd69684226d0b1b0ee2;hp=496ca4550e36cfd95f3f8aba5039673ba5471ccd;hpb=646676b8dbf8ab504ac8a275fe9a63a403a3190b;p=freeglut diff --git a/src/freeglut_misc.c b/src/freeglut_misc.c index 496ca45..8c376eb 100644 --- a/src/freeglut_misc.c +++ b/src/freeglut_misc.c @@ -87,7 +87,7 @@ int FGAPIENTRY glutExtensionSupported( const char* extension ) /* * No, go find the next extension. They are separated from each other by one or more blank spaces. */ - ptr = strchr ( ptr + len, ' ' ) ; + ptr = strchr ( ptr, ' ' ) ; /* * If we ran off the end of the "extensions" character string, we didn't find it. Return failure.