Fixed incorrect condition (s/strcmp()/strcmp() == 0/)

ok matthieu@
This commit is contained in:
shadchin 2011-11-28 23:13:11 +00:00
parent 75d011a3a1
commit 9bf4ba3a8c

View File

@ -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 */