Skip to content

Commit fcf7463

Browse files
committed
Fix typos
1 parent d9d04c4 commit fcf7463

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/minIni.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static int getkeystring(INI_FILETYPE *fp, const TCHAR *Section, const TCHAR *Key
234234
assert(fp != NULL);
235235
/* Move through file 1 line at a time until a section is matched or EOF. If
236236
* parameter Section is NULL, only look at keys above the first section. If
237-
* idxSection is postive, copy the relevant section name.
237+
* idxSection is positive, copy the relevant section name.
238238
*/
239239
len = (Section != NULL) ? (int)_tcslen(Section) : 0;
240240
if (len > 0 || idxSection >= 0) {
@@ -449,7 +449,7 @@ int ini_getkey(const TCHAR *Section, int idx, TCHAR *Buffer, int BufferSize, co
449449
/** ini_browse()
450450
* \param Callback a pointer to a function that will be called for every
451451
* setting in the INI file.
452-
* \param UserData arbitrary data, which the function passes on the the
452+
* \param UserData arbitrary data, which the function passes on the
453453
* \c Callback function
454454
* \param Filename the name and full path of the .ini file to read from
455455
*

dev/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ int main(void)
8888
printf("3. String writing tests passed\n");
8989

9090
/* section/key enumeration */
91-
printf("4. Section/key enumertion, file structure follows\n");
91+
printf("4. Section/key enumeration, file structure follows\n");
9292
for (s = 0; ini_getsection(s, section, sizearray(section), inifile) > 0; s++) {
9393
printf(" [%s]\n", section);
9494
for (k = 0; ini_getkey(section, k, str, sizearray(str), inifile) > 0; k++) {

0 commit comments

Comments
 (0)