[gtk+] Fix typo in calculating secondary cursor color
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix typo in calculating secondary cursor color
- Date: Sat, 29 Jan 2011 13:00:48 +0000 (UTC)
commit 469f4592d4647cab4b338abdf5a16f91830749cb
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Jan 29 12:24:37 2011 +0100
Fix typo in calculating secondary cursor color
gtk/gtkstyle.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 3c7e82d..b9312c8 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -4008,7 +4008,7 @@ get_cursor_color (GtkStyleContext *context,
color->red = (fg.red + bg.red) * 0.5 * 65535;
color->green = (fg.green + bg.green) * 0.5 * 65535;
- color->blue = (fg.blue + bg.green) * 0.5 * 65535;
+ color->blue = (fg.blue + bg.blue) * 0.5 * 65535;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]