Paste #273482 |
pasted on 24.03.2024 14:18
- Edit to this paste
- Raw
-
Compare with paste
#
Text paste
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | /* __allegro_gl_print_extensions:
* Given a string containing extensions (i.e. a NULL terminated string where
* each extension are separated by a space and which names do not contain any
* space)
*/
void __allegro_gl_print_extensions(AL_CONST char * extension)
{
char buf[80];
char* start;
while (*extension != '\0') {
start = buf;
strncpy(buf, extension, 80);
while ((*start != ' ') || (*start != '\0')) {
extension++;
start++;
}
*start = '\0';
extension ++;
TRACE(PREFIX_I "%s\n", buf);
}
}
|
