mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
fixed problem in print_extension_list() when ext ended in a space
This commit is contained in:
parent
feb06c8d9a
commit
7ac435066a
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: glxinfo.c,v 1.4 2000/02/02 20:57:51 brianp Exp $ */
|
||||
/* $Id: glxinfo.c,v 1.5 2000/02/23 22:50:35 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1999 Brian Paul All Rights Reserved.
|
||||
|
|
@ -117,6 +117,8 @@ print_extension_list(const char *ext)
|
|||
else {
|
||||
i++;
|
||||
j++;
|
||||
if (ext[j] == 0)
|
||||
break;
|
||||
printf(", ");
|
||||
width += 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue