From 884fb8f58d6b1d8a5fd44f563050bf9bd1830402 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Date: Wed, 24 Aug 2011 12:11:57 +0900
Subject: Fix typo

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
 modules/highgui/src/cap_libv4l.cpp              |    2 +-
 modules/highgui/src/cap_v4l.cpp                 |    2 +-
 modules/legacy/src/clique.cpp                   |    4 ++--
 modules/legacy/src/lcm.cpp                      |    2 +-
 modules/legacy/src/trifocal.cpp                 |    2 +-

 diff --git a/modules/highgui/src/cap_libv4l.cpp b/modules/highgui/src/cap_libv4l.cpp
 index 54cc351..8fa99b1 100644
 --- a/modules/highgui/src/cap_libv4l.cpp
diff --git a/modules/highgui/src/cap_libv4l.cpp b/modules/highgui/src/cap_libv4l.cpp
index ce75072..47b6d50 100644
--- a/modules/highgui/src/cap_libv4l.cpp
+++ b/modules/highgui/src/cap_libv4l.cpp
@@ -1615,7 +1615,7 @@ static int icvSetControl (CvCaptureCAM_V4L* capture, int property_id, double val
     }
 
     if (v4l1_ioctl(capture->deviceHandle, VIDIOCSPICT, &capture->imageProperties) < 0){
-      fprintf(stderr, "HIGHGUI ERROR: V4L: Unable to set video informations\n");
+      fprintf(stderr, "HIGHGUI ERROR: V4L: Unable to set video information\n");
       icvCloseCAM_V4L(capture);
       return -1;
     }
diff --git a/modules/highgui/src/cap_v4l.cpp b/modules/highgui/src/cap_v4l.cpp
index cf3ef89..6c426a0 100644
--- a/modules/highgui/src/cap_v4l.cpp
+++ b/modules/highgui/src/cap_v4l.cpp
@@ -2682,7 +2682,7 @@ static int icvSetControl (CvCaptureCAM_V4L* capture,
         < 0)
     {
        fprintf(stderr,
-               "HIGHGUI ERROR: V4L: Unable to set video informations\n");
+               "HIGHGUI ERROR: V4L: Unable to set video information\n");
        icvCloseCAM_V4L(capture);
        return -1;
     }
diff --git a/modules/legacy/src/clique.cpp b/modules/legacy/src/clique.cpp
index 68a901f..53e6b08 100644
--- a/modules/legacy/src/clique.cpp
+++ b/modules/legacy/src/clique.cpp
@@ -343,7 +343,7 @@ int cvFindNextMaximalClique( CvCliqueFinder* finder )
             break;
         case NEXT:
             //here we will look for candidate to translate into not    
-            //s[k] now contains index of choosen candidate
+            //s[k] now contains index of chosen candidate
             {
                 int* new_ = All[k+1];
                 if( nod[k] != 0 )
@@ -590,7 +590,7 @@ void cvBronKerbosch( CvGraph* graph )
             break;
         case NEXT:
             //here we will look for candidate to translate into not    
-            //s[k] now contains index of choosen candidate
+            //s[k] now contains index of chosen candidate
             {
                 int* new_ = All[k+1];
                 if( nod[k] != 0 )
diff --git a/modules/legacy/src/lcm.cpp b/modules/legacy/src/lcm.cpp
index 9c2e952..b880b43 100644
--- a/modules/legacy/src/lcm.cpp
+++ b/modules/legacy/src/lcm.cpp
@@ -284,7 +284,7 @@ CV_IMPL CvGraph* cvLinearContorModelFromVoronoiDiagram(CvVoronoiDiagram2D* Voron
     if( !VoronoiDiagram )
         CV_ERROR( CV_StsBadArg,"Voronoi Diagram is not defined" );
     if( maxWidth < 0 )
-        CV_ERROR( CV_StsBadArg,"Treshold parameter must be non negative" );
+        CV_ERROR( CV_StsBadArg,"Threshold parameter must be non negative" );
     
     for(SiteSet = VoronoiDiagram->sites;
         SiteSet != NULL;
diff --git a/modules/legacy/src/trifocal.cpp b/modules/legacy/src/trifocal.cpp
index 1f361f0..5908b7d 100644
--- a/modules/legacy/src/trifocal.cpp
+++ b/modules/legacy/src/trifocal.cpp
@@ -903,7 +903,7 @@ int icvComputeProjectMatricesNPoints(  CvMat* points1,CvMat* points2,CvMat* poin
         tmpProjMatr[1] = cvMat(9,4,CV_64F,tmpProjMatr_dat+36);
         tmpProjMatr[2] = cvMat(9,4,CV_64F,tmpProjMatr_dat+72);
 
-        /* choosen points */
+        /* chosen points */
 
         while( wasCount < NumSamples )
         {
-- 
1.7.5.4

