Fixed the comment too, for accuracy.

 Signed-off-by: Jesse Adkins <[email protected]>

---
 randr/rrcrtc.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index 14f6e45..db8842e 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -533,12 +533,13 @@ RRModeGetScanoutSize (RRModePtr mode, PictTransformPtr 
transform,
 }
 
 /**
- * Returns the width/height that the crtc scans out from the framebuffer
+ * Sets width and height to the width and height that the crtc scans out
+ * from the framebuffer
  */
 void
 RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height)
 {
-    return RRModeGetScanoutSize (crtc->mode, &crtc->transform, width, height);
+    RRModeGetScanoutSize (crtc->mode, &crtc->transform, width, height);
 }
 
 /*
-- 
1.7.0.4


      
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to