Fixup a bad strcmp call landed in previous commit
This commit is contained in:
parent
8079ae192d
commit
3520fc314b
@ -180,7 +180,7 @@ const NXArchInfo *NXGetLocalArchInfo(void) {
|
||||
|
||||
const NXArchInfo *NXGetArchInfoFromName(const char *name) {
|
||||
for (int arch = 0; arch < kNumArchitectures; ++arch) {
|
||||
if (strcmp(name, kKnownArchitectures[arch].name)) {
|
||||
if (!strcmp(name, kKnownArchitectures[arch].name)) {
|
||||
return &kKnownArchitectures[arch];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user