diff options
author | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2011-11-28 23:13:12 +0000 |
---|---|---|
committer | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2011-11-28 23:13:12 +0000 |
commit | 01cdabb1862244d84b57381499d7448973ab0a7c (patch) | |
tree | b26f37cbac1210e5d216f68c124a8e6ad5722083 /driver/xf86-video-ati | |
parent | e0b46b4864a428dc0ed9e7154df8654315c5268e (diff) |
Fixed incorrect condition (s/strcmp()/strcmp() == 0/)
ok matthieu@
Diffstat (limited to 'driver/xf86-video-ati')
-rw-r--r-- | driver/xf86-video-ati/src/radeon_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-ati/src/radeon_output.c b/driver/xf86-video-ati/src/radeon_output.c index bf4af6fad..06f07245d 100644 --- a/driver/xf86-video-ati/src/radeon_output.c +++ b/driver/xf86-video-ati/src/radeon_output.c @@ -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 */ |