Fixed incorrect condition (s/strcmp()/strcmp() == 0/)
ok matthieu@
This commit is contained in:
parent
75d011a3a1
commit
9bf4ba3a8c
@ -2468,7 +2468,7 @@ static RADEONMacModel RADEONDetectMacModel(ScrnInfoPtr pScrn)
|
||||
ret = RADEON_MAC_POWERBOOK_EXTERNAL; /* dual or single link */
|
||||
}
|
||||
|
||||
if (strcmp(model, "PowerBook5,7") ||
|
||||
if (strcmp(model, "PowerBook5,7") == 0 ||
|
||||
strcmp(model, "PowerBook5,8") == 0 ||
|
||||
strcmp(model, "PowerBook5,9") == 0) {
|
||||
ret = RADEON_MAC_POWERBOOK_EXTERNAL; /* dual link */
|
||||
|
Loading…
Reference in New Issue
Block a user