[Xfce4-commits] <xfce4-settings:xrandr-display-settings> Fix stupid typos

Jérôme Guelfucci noreply at xfce.org
Sun Jun 6 10:00:03 CEST 2010


Updating branch refs/heads/xrandr-display-settings
         to c53c31f46580f62a39d3f063806e23b1b3485b9c (commit)
       from da0a9463b6d278e7eb8e97a644532b6b7984cd8d (commit)

commit c53c31f46580f62a39d3f063806e23b1b3485b9c
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date:   Sun Jun 6 00:18:17 2010 +0200

    Fix stupid typos

 xfce4-settings-helper/displays.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xfce4-settings-helper/displays.c b/xfce4-settings-helper/displays.c
index 6bc2200..a682b01 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -278,7 +278,7 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
                     mode_info = &resources->modes[l];
 
                     /* does the mode info match the mode we seek? */
-                    if (mode_info->id != output_info->mode[j])
+                    if (mode_info->id != output_info->modes[j])
                         continue;
 
                     /* calculate the refresh rate */
@@ -348,8 +348,8 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
                         mm_height += output_info->mm_height;
 
                         /* get the sizes of the mode to enforce */
-                        width += resources->modes[j]->width;
-                        height += resources->modes[j]->height;
+                        width += resources->modes[j].width;
+                        height += resources->modes[j].height;
 
                         /* set the screen size before apply the resolution, only if it's valid */
                         if (width >= min_width && width <= max_width



More information about the Xfce4-commits mailing list