about summary refs log tree commit diff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 52d36d3..e6686fc 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1896,7 +1896,7 @@ void
 updatecurrentdesktop(void){
   long rawdata[] = { selmon->tagset[selmon->seltags] };
   int i=0;
-  while(*rawdata >> i+1){
+  while(*rawdata >> (i+1)){
 	   i++;
   }
   long data[] = { i };