Skip to content

Commit c825050

Browse files
committed
viewer#3018 Fix some typos
1 parent 99bddd5 commit c825050

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

indra/llwindow/llwindow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class LLWindow : public LLInstanceTracker<LLWindow>
9595
#if LL_WINDOWS
9696
virtual bool getCursorDelta(LLCoordCommon* delta) const = 0;
9797
#endif
98-
virtual bool isWrapMouse() const = 0;
98+
virtual bool isWarpMouse() const = 0;
9999
virtual void showCursor() = 0;
100100
virtual void hideCursor() = 0;
101101
virtual bool isCursorHidden() = 0;

indra/llwindow/llwindowheadless.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class LLWindowHeadless : public LLWindow
5858
#if LL_WINDOWS
5959
bool getCursorDelta(LLCoordCommon* delta) const override { return false; }
6060
#endif
61-
bool isWrapMouse() const override { return true; }
61+
bool isWarpMouse() const override { return true; }
6262
void showCursor() override {}
6363
void hideCursor() override {}
6464
void showCursorFromMouseMove() override {}

indra/llwindow/llwindowmacosx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class LLWindowMacOSX : public LLWindow
6262
bool switchContext(bool fullscreen, const LLCoordScreen &size, bool enable_vsync, const LLCoordScreen * const posp = NULL) override;
6363
bool setCursorPosition(LLCoordWindow position) override;
6464
bool getCursorPosition(LLCoordWindow *position) override;
65-
bool isWrapMouse() const override { return !mCursorDecoupled; };
65+
bool isWarpMouse() const override { return !mCursorDecoupled; };
6666
void showCursor() override;
6767
void hideCursor() override;
6868
void showCursorFromMouseMove() override;

indra/llwindow/llwindowsdl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class LLWindowSDL : public LLWindow {
8080

8181
bool getCursorPosition(LLCoordWindow *position) override;
8282

83-
bool isWrapMouse() const override { return true; }
83+
bool isWarpMouse() const override { return true; }
8484
void showCursor() override;
8585
void hideCursor() override;
8686
bool isCursorHidden() override;

indra/llwindow/llwindowwin32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class LLWindowWin32 : public LLWindow
6969
bool setCursorPosition(LLCoordWindow position) override;
7070
bool getCursorPosition(LLCoordWindow *position) override;
7171
bool getCursorDelta(LLCoordCommon* delta) const override;
72-
bool isWrapMouse() const override { return !mAbsoluteCursorPosition; };
72+
bool isWarpMouse() const override { return !mAbsoluteCursorPosition; };
7373
void showCursor() override;
7474
void hideCursor() override;
7575
void showCursorFromMouseMove() override;

indra/newview/llviewerwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3286,7 +3286,7 @@ void LLViewerWindow::moveCursorToCenter()
32863286
// MacOS
32873287
// If 'decoupled', CGAssociateMouseAndMouseCursorPosition can make mouse stay in
32883288
// one place and not move, do not move it (needs testing).
3289-
mouse_warp = mWindow->isWrapMouse();
3289+
mouse_warp = mWindow->isWarpMouse();
32903290
break;
32913291
case 1:
32923292
mouse_warp = true;

0 commit comments

Comments
 (0)