Updating branch refs/heads/xrandr-display-settings
to c1f683daa48508c89304e4e2045cc55298859c61 (commit)
from b14a75782ad692fb1c25462e671144d234a3bfcc (commit)
commit c1f683daa48508c89304e4e2045cc55298859c61
Author: Lionel Le Folgoc <[email protected]>
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),
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits