summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpopt.vers2
-rw-r--r--popthelp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpopt.vers b/libpopt.vers
index dca6b1a..3ac5e52 100644
--- a/libpopt.vers
+++ b/libpopt.vers
@@ -21,7 +21,7 @@ LIBPOPT_0
poptBitsUnion;
poptConfigFileToString;
poptDupArgv;
- poptFinit;
+ poptFini;
poptFreeContext;
poptGetArg;
poptGetArgs;
diff --git a/popthelp.c b/popthelp.c
index 52667cd..4859980 100644
--- a/popthelp.c
+++ b/popthelp.c
@@ -144,7 +144,7 @@ static inline size_t stringDisplayWidth(const char *s)
n = mbsrtowcs (NULL, &s, n, &t);
#else
n = 0;
- for (; *s; s = POPT_next_char(s));
+ for (; *s; s = POPT_next_char(s))
n++;
#endif