diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-01-23 16:35:32 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-01-23 16:35:32 -0500 |
commit | a416715372bb51bcdc1d05426afbf5e909b5984a (patch) | |
tree | 3b5239943a68a0b74194aba4baa642236e54dc9e /include/util.h | |
parent | s/numlen/log10/g (diff) | |
download | sway-a416715372bb51bcdc1d05426afbf5e909b5984a.tar.gz sway-a416715372bb51bcdc1d05426afbf5e909b5984a.tar.zst sway-a416715372bb51bcdc1d05426afbf5e909b5984a.zip |
Revert "s/numlen/log10/g"
This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 7f4b3ace..dc47e343 100644 --- a/include/util.h +++ b/include/util.h | |||
@@ -11,6 +11,11 @@ | |||
11 | int wrap(int i, int max); | 11 | int wrap(int i, int max); |
12 | 12 | ||
13 | /** | 13 | /** |
14 | * Count number of digits in int | ||
15 | */ | ||
16 | int numlen(int n); | ||
17 | |||
18 | /** | ||
14 | * Get modifier mask from modifier name. | 19 | * Get modifier mask from modifier name. |
15 | * | 20 | * |
16 | * Returns the modifer mask or 0 if the name isn't found. | 21 | * Returns the modifer mask or 0 if the name isn't found. |