Skip to content
Snippets Groups Projects
Commit 1ac81432 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Some Borland fixups

Not all of them though... I just mr IRC history. :)
parent 06b563bf
No related branches found
No related tags found
No related merge requests found
Pipeline #8020 failed
......@@ -53,7 +53,8 @@ namedStrListDelete(named_string_t ***list, size_t index)
named_string_t *
namedStrListFindName(named_string_t **list, const char *tmpn)
{
for (size_t i = 0; list[i]; i++) {
size_t i;
for (i = 0; list[i]; i++) {
if (stricmp(tmpn, list[i]->name) == 0)
return list[i];
}
......
#ifndef NAMED_STR_LIST_H
#define NAMED_STR_LIST_H
#define NAMED_STR_LIST_LAST_INDEX (-((size_t)(1)))
#define NAMED_STR_LIST_LAST_INDEX (~((size_t)(0)))
#ifdef __cplusplus
extern "C" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment