File: typos.patch

package info (click to toggle)
libconfuse 3.3-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,192 kB
  • sloc: ansic: 5,532; lex: 451; xml: 439; makefile: 213; sh: 39
file content (43 lines) | stat: -rw-r--r-- 1,752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 150e28ca03d4fb902587bcc6ff22f4ec235f7019 Mon Sep 17 00:00:00 2001
From: musvaage <112724366+musvaage@users.noreply.github.com>
Date: Sat, 17 Feb 2024 12:15:43 -0600
Subject: [PATCH] typos

---
 src/confuse.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/confuse.h b/src/confuse.h
index da669ae..a89b41e 100644
--- a/src/confuse.h
+++ b/src/confuse.h
@@ -207,7 +207,7 @@ typedef int (*cfg_validate_callback_t)(cfg_t *cfg, cfg_opt_t *opt);
  * This callback function is called before an option is set using the
  * cfg_set*() APIs.  The function is called only for strings, integers,
  * and floats.  Compared to the regular callback function this takes a
- * value pointer argument which must be casted before use, but can also
+ * value pointer argument which must be cast before use, but can also
  * be used to correct a value before it is set, e.g. when a too large
  * value is set this can be used to set the MAX.
  *
@@ -664,7 +664,7 @@ extern const char __export confuse_author[];
  *     setlocale(LC_MESSAGES, "");
  *     setlocale(LC_CTYPE, "");
  * </pre>
- * @param opts An arrary of options
+ * @param opts An array of options
  * @param flags One or more flags (bitwise or'ed together). Currently only
  * CFGF_NOCASE and CFGF_IGNORE_UNKNOWN are available. Use 0 if no flags are
  * needed.
@@ -697,7 +697,7 @@ DLLIMPORT int __export cfg_add_searchpath(cfg_t *cfg, const char *dir);
  * and should be freed by the caller.
  *
  * @param path The linked list of cfg_searchpath_t structs, each
- * containg a directory to be searched
+ * containing a directory to be searched
  * @param file The file for which to search
  *
  * @return If the file is found on the searchpath then the full
-- 
2.47.2