From e7b6e8c60f0001c4b228bda570ec0d1b7dc3a739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 25 Sep 2022 13:39:11 +0200 Subject: api: restrict number to integer in function string_parse_size --- doc/it/weechat_plugin_api.it.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/it') diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index e3f94f74e..ddd9c2d4b 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -2060,8 +2060,8 @@ unsigned long long weechat_string_parse_size (const char *size); Argomenti: -* _size_: the size as string: float number followed optional spaces and optional - unit (lower or upper case), which is one of: +* _size_: the size as string: positive integer number followed by optional + spaces and optional unit (lower or upper case), which is one of: ** _b_: bytes ** _k_: kilobytes (1k = 1000 bytes) ** _m_: megabytes (1m = 1000k = 1,000,000 bytes) -- cgit v1.2.3