[Xfce4-commits] <xfce4-settings:master> I'm the master of the typo

Nick Schermer noreply at xfce.org
Sat Aug 28 23:02:20 CEST 2010


Updating branch refs/heads/master
         to 5baf0625fc207e6b56bd2c82c2390600483b9ced (commit)
       from 69b42a49bf034023603aab9845cfd5c13be7740a (commit)

commit 5baf0625fc207e6b56bd2c82c2390600483b9ced
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date:   Sun Jun 6 01:32:43 2010 +0200

    I'm the master of the typo

 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 98b29ec..0447f93 100644
--- a/xfce4-settings-helper/displays.c
+++ b/xfce4-settings-helper/displays.c
@@ -278,10 +278,10 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
                 for (j = 0; j < resources->nmode; ++j)
                 {
                     /* get the mode info */
-                    mode_info = &resources->modes[l];
+                    mode_info = &resources->modes[j];
 
                     /* does the mode info match the mode we seek? */
-                    if (mode_info->id != output_info->modes[j])
+                    if (mode_info->id != output_info->modes[l])
                         continue;
 
                     /* calculate the refresh rate */
@@ -354,7 +354,7 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
                         width += resources->modes[j].width;
                         height += resources->modes[j].height;
 
-                        /* set the screen size before apply the resolution, only if it's valid */
+                        /* set the screen size before applying the resolution, only if it's valid */
                         if (width >= min_width && width <= max_width
                             && height >= min_height && height <= max_height)
                             XRRSetScreenSize (xdisplay, GDK_WINDOW_XID (root_window),



More information about the Xfce4-commits mailing list