summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XrrOutput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrOutput.c b/src/XrrOutput.c
index e59af15..ce25bb3 100644
--- a/src/XrrOutput.c
+++ b/src/XrrOutput.c
@@ -349,7 +349,7 @@ XRRGetOutputProperty (Display *dpy, RROutput output,
(*prop)[nbytes] = '\0';
}
- *actual_type = rep.type;
+ *actual_type = rep.propertyType;
*actual_format = rep.format;
*nitems = rep.nItems;
*bytes_after = rep.bytesAfter;