diff --git a/Examples/FeatureExtraction/RightAngleDetectionExample.cxx b/Examples/FeatureExtraction/RightAngleDetectionExample.cxx
index 6d1196ff2793f2d8c6657f7e94267143ec0fa4fa..8c07359a40d0219253a452b8873cef11b1a026a5 100644
--- a/Examples/FeatureExtraction/RightAngleDetectionExample.cxx
+++ b/Examples/FeatureExtraction/RightAngleDetectionExample.cxx
@@ -169,20 +169,21 @@ int main( int argc, char * argv[] )
   // Software Guide : EndCodeSnippet
   // Software Guide : BeginLatex
   //
-  // You can qualify how far the right angle must the segments be, and the tolerance 
+  // You can choose how far the right angle segments can be, and the tolerance 
   // to consider an angle between two segments as an right one.
   //
-  rightAngleFilter->SetThresholdAngle(angleThreshold);
-  rightAngleFilter->SetThresholdDistance(distanceThreshold);
-  //
+    //
   // Software Guide : EndLatex
   // Software Guide : BeginCodeSnippet  
+
+  rightAngleFilter->SetThresholdAngle(angleThreshold);
+  rightAngleFilter->SetThresholdDistance(distanceThreshold);
   
   rightAngleFilter->Update();
   // Software Guide : EndCodeSnippet
   // Software Guide : BeginLatex
   //
-  // We will now draw the right angles on top of the inout image. For
+  // We will now draw the right angles on top of the input image. For
   // this, we get the output of the right angle detector.
   //
   // Software Guide : EndLatex