typo in last commit

This commit is contained in:
2015-09-08 23:46:56 +10:00
parent a93e15aee3
commit d5f1f66f06
3 changed files with 3 additions and 3 deletions

View File

@@ -585,7 +585,7 @@ static bool initWalkInfo(bContext *C, WalkInfo *walk, wmOperator *op)
walk->center_mval[0] += walk->ar->winrct.xmin;
walk->center_mval[1] += walk->ar->winrct.ymin;
WM_cursor_comaptible_xy(win, &walk->center_mval[0], &walk->center_mval[1]);
WM_cursor_compatible_xy(win, &walk->center_mval[0], &walk->center_mval[1]);
walk->center_mval[0] -= walk->ar->winrct.xmin;
walk->center_mval[1] -= walk->ar->winrct.ymin;

View File

@@ -130,7 +130,7 @@ void WM_paint_cursor_end(struct wmWindowManager *wm, void *handle);
void WM_paint_cursor_tag_redraw(struct wmWindow *win, struct ARegion *ar);
void WM_cursor_warp (struct wmWindow *win, int x, int y);
void WM_cursor_comaptible_xy(wmWindow *win, int *x, int *y);
void WM_cursor_compatible_xy(wmWindow *win, int *x, int *y);
float WM_cursor_pressure (const struct wmWindow *win);
/* event map */

View File

@@ -1559,7 +1559,7 @@ void WM_cursor_warp(wmWindow *win, int x, int y)
/**
* Set x, y to values we can actually position the cursor to.
*/
void WM_cursor_comaptible_xy(wmWindow *win, int *x, int *y)
void WM_cursor_compatible_xy(wmWindow *win, int *x, int *y)
{
float f = GHOST_GetNativePixelSize(win->ghostwin);
if (f != 1.0f) {