From 0d42288b4e5dea07c1b62f23473cc7de5f69f586 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Fri, 25 Mar 2022 12:09:50 +0200 Subject: [PATCH] fixed comment about the return value of spnav_dev_name --- spnav.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spnav.h b/spnav.h index c03c2a8..c69de94 100644 --- a/spnav.h +++ b/spnav.h @@ -189,7 +189,7 @@ int spnav_select_device(int dev); * If buf is not null, the name is copied into buf. No more than bufsz bytes are * written, including the zero terminator. * The number of bytes that would have been written assuming enough space in buf - * are returned, including the zero terminator. + * are returned, excluding the zero terminator. */ int spnav_dev_name(char *buf, int bufsz);