]> git.sur5r.net Git - i3/i3/blobdiff - src/assignments.c
Merge branch 'master' into next
[i3/i3] / src / assignments.c
index 23c91081d6f7fe326848b162b3b952d648ba4de7..96834f648539d4bcb06c1778a4b6be65117845f4 100644 (file)
@@ -56,8 +56,8 @@ void run_assignments(i3Window *window) {
 
         /* Store that we ran this assignment to not execute it again */
         window->nr_assignments++;
-        window->ran_assignments = srealloc(window->ran_assignments, sizeof(Assignment*) * window->nr_assignments);
-        window->ran_assignments[window->nr_assignments-1] = current;
+        window->ran_assignments = srealloc(window->ran_assignments, sizeof(Assignment *) * window->nr_assignments);
+        window->ran_assignments[window->nr_assignments - 1] = current;
     }
 
     /* If any of the commands required re-rendering, we will do that now. */