index
:
sway.git
master
fork of sway with action binder commands
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sway
/
util.c
blob: 25aeb9f431f74bc3d67c5681a21ca35f54c060d0 (
plain
)
1
2
3
int wrap(int i, int max) { return ((i % max) + max) % max; }