diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-util.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/core/wee-util.c b/src/core/wee-util.c index 40b0545aa..8d791acfa 100644 --- a/src/core/wee-util.c +++ b/src/core/wee-util.c @@ -415,12 +415,14 @@ util_parse_delay (const char *string_delay, long default_factor) * Non-digit chars like "-dev" are ignored. * * Examples: - * "0.3.2-dev" ==> 197120 (== 0x00030200) - * "0.3.2-rc1" ==> 197120 (== 0x00030200) - * "0.3.2" ==> 197120 (== 0x00030200) - * "0.3.1.1" ==> 196865 (== 0x00030101) - * "0.3.1" ==> 196864 (== 0x00030100) - * "0.3.0" ==> 196608 (== 0x00030000) + * "4.0.0" ==> 67108864 (== 0x04000000) + * "1.0" ==> 16777216 (== 0x01000000) + * "0.3.2-dev" ==> 197120 (== 0x00030200) + * "0.3.2-rc1" ==> 197120 (== 0x00030200) + * "0.3.2" ==> 197120 (== 0x00030200) + * "0.3.1.1" ==> 196865 (== 0x00030101) + * "0.3.1" ==> 196864 (== 0x00030100) + * "0.3.0" ==> 196608 (== 0x00030000) */ int |