mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
Bug fix (1966659)
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@534 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
236a07b9fb
commit
2cb3a94ea7
@ -123,7 +123,7 @@ static GLuint _glewStrCLen (const GLubyte* s, GLubyte c)
|
||||
GLuint i=0;
|
||||
if (s == NULL) return 0;
|
||||
while (s[i] != '\0' && s[i] != c) i++;
|
||||
return s[i] == c ? i : 0;
|
||||
return (s[i] == '\0' || s[i] == c) ? i : 0;
|
||||
}
|
||||
|
||||
static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n)
|
||||
|
Loading…
Reference in New Issue
Block a user