mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 06:04:24 +01:00
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) {
|
const NXArchInfo *NXGetArchInfoFromName(const char *name) {
|
||||||
for (int arch = 0; arch < kNumArchitectures; ++arch) {
|
for (int arch = 0; arch < kNumArchitectures; ++arch) {
|
||||||
if (strcmp(name, kKnownArchitectures[arch].name)) {
|
if (!strcmp(name, kKnownArchitectures[arch].name)) {
|
||||||
return &kKnownArchitectures[arch];
|
return &kKnownArchitectures[arch];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user