summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-17 14:59:12 +1000
committerDave Airlie <airlied@redhat.com>2007-12-17 14:59:12 +1000
commit6a5c3e04fa43b98ccffd69ad86dd781602f88d0b (patch)
treee375028fd096f849f2e7b2c6cb6b1a1a4dcbef4b /mi
parenta18d28a5efbe6021d6c800506cece28a73545aad (diff)
mi: set the private key to a unique non-zero value
Diffstat (limited to 'mi')
-rw-r--r--mi/miscrinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/miscrinit.c b/mi/miscrinit.c
index a1fb2e2f6..7ca5f5df1 100644
--- a/mi/miscrinit.c
+++ b/mi/miscrinit.c
@@ -301,7 +301,7 @@ miAllocateGCPrivateIndex()
return privateKey;
}
-_X_EXPORT DevPrivateKey miZeroLineScreenKey;
+_X_EXPORT DevPrivateKey miZeroLineScreenKey = &miZeroLineScreenKey;
_X_EXPORT void
miSetZeroLineBias(pScreen, bias)