diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-02-23 22:50:35 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-02-23 22:50:35 +0000 |
commit | 7ac435066a2af75711369bab609e7551ede23b39 (patch) | |
tree | 91c723fe1e4e915e89e2a297f56eeee5222b485d /progs | |
parent | feb06c8d9ab8b4aa7590ebb1ae8a702ea62e1c57 (diff) |
fixed problem in print_extension_list() when ext ended in a space
Diffstat (limited to 'progs')
-rw-r--r-- | progs/xdemos/glxinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index f7890ee2c9..6606b67fc9 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -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; } |