From 63bf48481d4e5e285fdfe7037ea4150283163a54 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 12 Dec 2006 22:42:41 -0800 Subject: [PATCH] Correct typo in mac mini hack, and return modes when the hack is unnecessary. --- src/i830_sdvo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index 895639eb..68ee9414 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -1003,7 +1003,7 @@ i830_sdvo_get_modes(xf86OutputPtr output) modes = i830_ddc_get_modes(output); if (modes != NULL) - return NULL; + return modes; /* Mac mini hack. On this device, I get DDC through the analog, which * load-detects as disconnected. I fail to DDC through the SDVO DDC,