From 769a37773769b08829f68e7f5ce0fc3bf66f6445 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 23 Feb 2012 12:35:44 +0100 Subject: Added taskbar grouping for windows 7 --- xorg-server/hw/xwin/glx/indirect.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'xorg-server/hw/xwin/glx') diff --git a/xorg-server/hw/xwin/glx/indirect.c b/xorg-server/hw/xwin/glx/indirect.c index 6b1265d70..b60f0c87c 100644 --- a/xorg-server/hw/xwin/glx/indirect.c +++ b/xorg-server/hw/xwin/glx/indirect.c @@ -530,8 +530,15 @@ glxLogExtensions(const char *prefix, const char *extensions) } strl = strtok(str, " "); - winDebug("%s%s", prefix, strl); - length = strlen(prefix) + strlen(strl); + if (!strl) + { + winDebug("%s", prefix); + } + else + { + winDebug("%s%s", prefix, strl); + length = strlen(prefix) + strlen(strl); + } while (1) { -- cgit v1.2.3