changeset 35734:4ac697e15661

Remove pointless parentheses.
author ib
date Wed, 23 Jan 2013 10:31:15 +0000
parents ca384f3cd809
children 894b2d8a9405
files gui/wm/ws.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Tue Jan 22 19:46:11 2013 +0000
+++ b/gui/wm/ws.c	Wed Jan 23 10:31:15 2013 +0000
@@ -1033,11 +1033,11 @@
 {
     int pixel;
 
-    pixel   = (r >> 3);
+    pixel   = r >> 3;
     pixel <<= 5;
-    pixel  |= (g >> 3);
+    pixel  |= g >> 3;
     pixel <<= 5;
-    pixel  |= (b >> 3);
+    pixel  |= b >> 3;
 
     return pixel;
 }
@@ -1055,11 +1055,11 @@
 {
     int pixel;
 
-    pixel   = (r >> 3);
+    pixel   = r >> 3;
     pixel <<= 6;
-    pixel  |= (g >> 2);
+    pixel  |= g >> 2;
     pixel <<= 5;
-    pixel  |= (b >> 3);
+    pixel  |= b >> 3;
 
     return pixel;
 }