summaryrefslogtreecommitdiffstats
path: root/src/glut/beos/beos_x11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/beos/beos_x11.cpp')
-rw-r--r--src/glut/beos/beos_x11.cpp7
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