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