summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GL/glx/single2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/GL/glx/single2.c b/GL/glx/single2.c
index c757d60bd..5869e8f50 100644
--- a/GL/glx/single2.c
+++ b/GL/glx/single2.c
@@ -344,7 +344,7 @@ int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap)
if ( atof( string ) > atof( GLServerVersion ) ) {
buf = __glXMalloc( __glXStrlen( string )
+ __glXStrlen( GLServerVersion )
- + 3 );
+ + 4 );
if ( buf == NULL ) {
string = GLServerVersion;
}