From 73d6aed67f25aed8efa5cb27b35ec30fc9a96e0e Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 19 Jul 2023 11:35:24 +0800 Subject: 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. --- indra/llwindow/llwindowsdl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/llwindow') 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; -- cgit v1.2.3