From aa378a1d4c686454056d8968b54c4f2d2db7f9f9 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Mon, 15 Nov 2021 22:44:26 +0100 Subject: [PATCH] fix(client_get_some_icon) loosness about fail Review @sclu1034 --- objects/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/objects/client.c b/objects/client.c index d4ed36de7..e208db29e 100644 --- a/objects/client.c +++ b/objects/client.c @@ -4328,7 +4328,8 @@ luaA_client_get_icon_sizes(lua_State *L, client_t *c) * * Note that this function tests the provided index and raise an "invalid icon * index" error if the provided index doesn't exist in the client's icons list - * (by raising this error, the function will return `nil` to the caller). + * (by raising an error, the function will be stopped and nothing will be + * returned to the caller). * * @tparam interger index The index in the list of icons to get. * @treturn surface A lightuserdata for a cairo surface. This reference must be