diff options
author | Philippe Houdoin <[email protected]> | 2004-08-14 10:27:08 +0000 |
---|---|---|
committer | Philippe Houdoin <[email protected]> | 2004-08-14 10:27:08 +0000 |
commit | a041e62418a72f0fd379e50263e1c9d2e6c6bb55 (patch) | |
tree | 578847e0704507461122c73f5fff867e284a5c37 /src/glut/beos/beos_x11.cpp | |
parent | fad0e5d448d9a2b55a7faa3fcb569470c381fb4b (diff) |
Update to Jake Hamby's BeOS GLUT 3.7 port.
Diffstat (limited to 'src/glut/beos/beos_x11.cpp')
-rw-r--r-- | src/glut/beos/beos_x11.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glut/beos/beos_x11.cpp b/src/glut/beos/beos_x11.cpp index 20c75036d55..2d1bc655cbd 100644 --- a/src/glut/beos/beos_x11.cpp +++ b/src/glut/beos/beos_x11.cpp @@ -37,6 +37,8 @@ suitability of this software for any purpose. It is provided "as is" without express or implied warranty. */ +#if 0 // Not used currently... + /* *Returns pointer to first char ins search which is also in what, else NULL. */ @@ -45,13 +47,16 @@ static char *strscan (char *search, char *what) int i, len = strlen (what); char c; - while ((c = *(search++)) != (int)NULL) + while ((c = *(search++))) { for (i = 0; i < len; i++) if (c == what [i]) return (--search); + } return (NULL); } +#endif + /* * XParseGeometry parses strings of the form * "=<width>x<height>{+-}<xoffset>{+-}<yoffset>", where |