From a0483873764f43de4e5a54f96870d08340307bcd Mon Sep 17 00:00:00 2001 From: WonderRico Date: Fri, 9 Aug 2013 16:13:40 +0200 Subject: [PATCH] fix formating --- modules/highgui/src/cap_dshow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/highgui/src/cap_dshow.cpp b/modules/highgui/src/cap_dshow.cpp index 3f364ed..4dca387 100644 --- a/modules/highgui/src/cap_dshow.cpp +++ b/modules/highgui/src/cap_dshow.cpp @@ -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; -- 2.7.4