Merge pull request #8249 from vskarlsruhe:patch-1

pull/8164/merge
Alexander Alekhin 8 years ago
commit 78784040aa
  1. 2
      samples/cpp/tutorial_code/core/AddingImages/AddingImages.cpp

@ -27,7 +27,7 @@ int main( void )
std::cin>>input;
// We use the alpha provided by the user if it is between 0 and 1
if( alpha >= 0 && alpha <= 1 )
if( input >= 0 && input <= 1 )
{ alpha = input; }
//![load]

Loading…
Cancel
Save