diff options
author | Keith Packard <keithp@keithp.com> | 2008-09-12 20:18:21 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-09-12 20:18:21 -0700 |
commit | 377126fdaf1094354d54b1743f9d2bf1f2de1e0c (patch) | |
tree | 9e02b64f0d39141e28b85811d94b08f93528cd8c | |
parent | 7a21e7bc994c5fa7d3ab15ba7201667e134f1512 (diff) |
Set NparamsFilter in XRRGetCrtcTransform return value.
Leaving this uninitialized isn't very helpful, and can cause segfaults.
-rw-r--r-- | src/XrrCrtc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XrrCrtc.c b/src/XrrCrtc.c index a1d92cb..f4d9322 100644 --- a/src/XrrCrtc.c +++ b/src/XrrCrtc.c @@ -454,6 +454,7 @@ XRRGetCrtcTransform (Display *dpy, e += 4; attr->currentParams[p] = (XFixed) f; } + attr->currentNparams = rep.currentNparamsFilter; if (extra) XFree (extra); |