Skip to content

Commit

Permalink
bracket fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vampirefrog committed Jun 17, 2024
1 parent 03302e3 commit e3b08e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ struct loader *loaders[] = {
};

struct loader *get_loader_by_name(char *name) {
for(int i = 0; i < sizeof(loaders) / sizeof(loaders[0]); i++) {
for(int i = 0; i < sizeof(loaders) / sizeof(loaders[0]); i++)
if(!strcmp(loaders[i]->name, name)) return loaders[i];
}
return 0;
}

Expand Down

0 comments on commit e3b08e2

Please sign in to comment.