diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-03-03 14:09:23 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-05 15:18:28 +0000 |
commit | 2c2a3743347652a964315a91b1e7d066e90bfc6a (patch) | |
tree | 6b07630ba85d9b9a0a60d8788000f8e13cb66ce1 | |
parent | 07162838c91fd731cba4314409a35be02d851fb6 (diff) |
fix if() brackets in Probe function
in Probe() the indention shows what's meant but there are no
brackets. Add them.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | src/driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/driver.c b/src/driver.c index d8bb7b5..2004434 100644 --- a/src/driver.c +++ b/src/driver.c @@ -274,7 +274,7 @@ Probe(DriverPtr drv, int flags) NULL, NULL, NULL, NULL); } - if (scrn) + if (scrn) { foundScreen = TRUE; scrn->driverVersion = 1; scrn->driverName = "modesetting"; @@ -291,6 +291,7 @@ Probe(DriverPtr drv, int flags) xf86DrvMsg(scrn->scrnIndex, X_INFO, "using %s\n", dev ? dev : "default device"); + } } } |