summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-23 11:16:14 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-23 11:16:14 +0800
commit29d982c6bf873c6685bd0e395a8b0e5e3b1063e0 (patch)
tree1a7c1fd01e68f7533c28f1362ac0527f6ea37a44 /src
parentfd060ce89d86f6e8ff742d5b287abe8ecea32927 (diff)
Fix HDMI output number
Output 33 is confusing.
Diffstat (limited to 'src')
-rw-r--r--src/i830_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_hdmi.c b/src/i830_hdmi.c
index b738463c..58d1c49a 100644
--- a/src/i830_hdmi.c
+++ b/src/i830_hdmi.c
@@ -229,5 +229,5 @@ i830_hdmi_init(ScrnInfoPtr pScrn, int output_reg)
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"HDMI output %d detected\n",
- 1 + (output_reg - SDVOB));
+ (output_reg == SDVOB) ? 1 : 2);
}