mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Fix modules/ typos
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
This commit is contained in:
@@ -1806,7 +1806,7 @@ static gboolean icvOnMouse( GtkWidget *widget, GdkEvent *event, gpointer user_da
|
||||
else if( event->type == GDK_SCROLL )
|
||||
{
|
||||
#if defined(GTK_VERSION3_4)
|
||||
// NOTE: in current implementation doesn't possible to put into callback function delta_x and delta_y separetely
|
||||
// NOTE: in current implementation doesn't possible to put into callback function delta_x and delta_y separately
|
||||
double delta = (event->scroll.delta_x + event->scroll.delta_y);
|
||||
cv_event = (event->scroll.delta_y!=0) ? CV_EVENT_MOUSEHWHEEL : CV_EVENT_MOUSEWHEEL;
|
||||
#else
|
||||
|
||||
@@ -1231,7 +1231,7 @@ cvShowImage( const char* name, const CvArr* arr )
|
||||
cv::flip(dst, dst, 0);
|
||||
}
|
||||
|
||||
// ony resize window if needed
|
||||
// only resize window if needed
|
||||
if (changed_size)
|
||||
icvUpdateWindowPos(window);
|
||||
InvalidateRect(window->hwnd, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user