[Xfce4-commits] <xfce4-settings:xrandr-display-settings> I'm the master of the typo
Jérôme Guelfucci
noreply at xfce.org
Sun Jun 6 10:00:07 CEST 2010
Updating branch refs/heads/xrandr-display-settings
to c1f683daa48508c89304e4e2045cc55298859c61 (commit)
from b14a75782ad692fb1c25462e671144d234a3bfcc (commit)
commit c1f683daa48508c89304e4e2045cc55298859c61
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