fix formating
authorWonderRico <rico_cotier@yahoo.fr>
Fri, 9 Aug 2013 14:13:40 +0000 (16:13 +0200)
committerWonderRico <rico_cotier@yahoo.fr>
Fri, 9 Aug 2013 14:13:40 +0000 (16:13 +0200)
modules/highgui/src/cap_dshow.cpp

index 3f364edb2c87f2b9cf60bc553ece6a7906930fdb..4dca387973ce1efc337c7e8bf3968740c2b94c47 100644 (file)
@@ -3170,8 +3170,8 @@ bool CvCaptureCAM_DShow::open( int _index )
     devices = VI.listDevices(true);
     if (devices == 0)
         return false;
-       if (_index < 0 || index > devices-1)
-               return false;
+    if (_index < 0 || index > devices-1)
+        return false;
     VI.setupDevice(_index);
     if( !VI.isDeviceSetup(_index) )
         return false;