# HG changeset patch # User ib # Date 1358937075 0 # Node ID 4ac697e15661596565913998d35500515ae5cac3 # Parent ca384f3cd8094420ad30995777a834be6c4a5734 Remove pointless parentheses. diff -r ca384f3cd809 -r 4ac697e15661 gui/wm/ws.c --- 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; }