Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various typos #547

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Conversation

luzpaz
Copy link

@luzpaz luzpaz commented Aug 8, 2023

Typos found via codespell -q 3 -L te,ridiculus,varius

Note: a source typo wasn't included in this PR. See below (Offest->Offset):

diff --git a/src/DockOverlay.cpp b/src/DockOverlay.cpp
index 3ae43a2..cff19ae 100644
--- a/src/DockOverlay.cpp
+++ b/src/DockOverlay.cpp
@@ -912,9 +912,9 @@ void CDockOverlayCross::updatePosition()
 {
        resize(d->DockOverlay->size());
        QPoint TopLeft = d->DockOverlay->pos();
-       QPoint Offest((this->width() - d->DockOverlay->width()) / 2,
+       QPoint Offset((this->width() - d->DockOverlay->width()) / 2,
                (this->height() - d->DockOverlay->height()) / 2);
-       QPoint CrossTopLeft = TopLeft - Offest;
+       QPoint CrossTopLeft = TopLeft - Offset;
        move(CrossTopLeft);
 }

Typos found via `codespell -q 3 -L te,ridiculus,varius`
@githubuser0xFFFF
Copy link
Owner

Thank you very much

@githubuser0xFFFF githubuser0xFFFF merged commit 0d10c6e into githubuser0xFFFF:master Aug 8, 2023
1 check passed
@luzpaz luzpaz deleted the typos branch August 8, 2023 22:11
@luzpaz
Copy link
Author

luzpaz commented Aug 8, 2023

@githubuser0xFFFF is the source typo valid ? Do you want me to make a PR for it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants