[vlc-devel] [PATCH 12/13] control/motionlib: remove trailing whitespace
Filip Roséen
filip at atch.se
Thu Oct 13 18:07:02 CEST 2016
---
modules/control/motionlib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/control/motionlib.c b/modules/control/motionlib.c
index 5638bb5..0dedccd 100644
--- a/modules/control/motionlib.c
+++ b/modules/control/motionlib.c
@@ -70,7 +70,7 @@ motion_sensors_t *motion_create( vlc_object_t *obj )
return NULL;
}
- if( access( "/sys/devices/platform/hdaps/position", R_OK ) == 0
+ if( access( "/sys/devices/platform/hdaps/position", R_OK ) == 0
&& ( f = fopen( "/sys/devices/platform/hdaps/calibrate", "re" ) ) )
{
/* IBM HDAPS support */
@@ -85,7 +85,7 @@ motion_sensors_t *motion_create( vlc_object_t *obj )
motion->sensor = AMS_SENSOR;
msg_Dbg( obj, "AMS motion detection correctly loaded" );
}
- else if( access( "/sys/devices/platform/applesmc.768/position", R_OK ) == 0
+ else if( access( "/sys/devices/platform/applesmc.768/position", R_OK ) == 0
&& ( f = fopen( "/sys/devices/platform/applesmc.768/calibrate", "re" ) ) )
{
/* Apple SMC (newer macbooks) */
--
2.10.0
More information about the vlc-devel
mailing list