mirror of
https://github.com/swaywm/sway.git
synced 2024-07-11 21:43:36 +00:00
6 lines
81 B
C
6 lines
81 B
C
#include "util.h"
|
|
|
|
int wrap(int i, int max) {
|
|
return ((i % max) + max) % max;
|
|
}
|