diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-19 11:35:24 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 14:55:57 +0800 |
commit | 73d6aed67f25aed8efa5cb27b35ec30fc9a96e0e (patch) | |
tree | bbe8591828bc5e6372c5a2c32db1afeee9c80a9b /indra/llwindow | |
parent | cb2595bbb1dfce0170715b7b18c80218e0c20ce9 (diff) |
Fix what GCC considers as misleading indentations
The style conventions aren't really being followed that the different
styles of using tabs or spaces as indentations lead to GCC considering
them as misleading.
It's better to just fix them (but as little as possible as to minimise
this fork difference from upstream) than to supress the warnings from
being treated as errors.
Diffstat (limited to 'indra/llwindow')
-rw-r--r-- | indra/llwindow/llwindowsdl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp index 8384845516..9c8fadb968 100644 --- a/indra/llwindow/llwindowsdl.cpp +++ b/indra/llwindow/llwindowsdl.cpp @@ -1432,7 +1432,7 @@ BOOL LLWindowSDL::convertCoords(LLCoordGL from, LLCoordWindow *to) if (!to) return FALSE; - to->mX = from.mX; + to->mX = from.mX; to->mY = mWindow->h - from.mY - 1; return TRUE; @@ -1443,7 +1443,7 @@ BOOL LLWindowSDL::convertCoords(LLCoordWindow from, LLCoordGL* to) if (!to) return FALSE; - to->mX = from.mX; + to->mX = from.mX; to->mY = mWindow->h - from.mY - 1; return TRUE; |