From 9bac8855bbe0f076042f9e67977d123242b4ec38 Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Mon, 12 May 2025 23:18:15 +0800 Subject: [PATCH] Remove "not" from rz_path(_set)_prefix func comments (#5147) --- librz/util/path.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/librz/util/path.c b/librz/util/path.c index 70844afcb9..39b9b85a98 100644 --- a/librz/util/path.c +++ b/librz/util/path.c @@ -84,11 +84,11 @@ err: * \brief Return \p path prefixed by the Rizin install prefix * * The install prefix is taken from the build-time configuration RZ_PREFIX, - * unless Rizin was not compiled as "portable". In such a case the prefix is - * either discovered from the path of the executable calling this function or - * stored via the path variable + * unless Rizin was compiled as "portable". In such a case the prefix is either + * provided via the path argument or discovered from the path of the executable + * calling this function. * - * \param path Path to use when to prefix or NULL to use the binary location + * \param path Path to use when prefixing or NULL to use the executable location */ RZ_API void rz_path_set_prefix(RZ_NONNULL const char *path) { #if RZ_IS_PORTABLE @@ -108,7 +108,7 @@ RZ_API void rz_path_set_prefix(RZ_NONNULL const char *path) { * \brief Return \p path prefixed by the Rizin install prefix * * The install prefix is taken from the build-time configuration RZ_PREFIX, - * unless Rizin was not compiled as "portable". In such a case the prefix is + * unless Rizin was compiled as "portable". In such a case the prefix is * discovered from the path of the executable calling this function. * * \param path Path to put in the install prefix context or NULL to just get the install prefix