From 2c1ab620bf6ccf8eab29f821749e7e88c349526f Mon Sep 17 00:00:00 2001 From: pythias Date: Tue, 14 May 2019 09:06:36 +0800 Subject: [PATCH] Tab to spaces (#578) * tab to spaces * change tab size to 4. --- NuGet.Config | 28 ++++----- src/ConsolePerf.regions.xml | 46 +++++++------- src/ConsolePerf.wprp | 62 +++++++++---------- src/server/ApiSorter.cpp | 6 +- src/terminal/adapter/adaptDispatch.cpp | 2 +- .../parser/ut_parser/OutputEngineTest.cpp | 2 +- 6 files changed, 73 insertions(+), 73 deletions(-) diff --git a/NuGet.Config b/NuGet.Config index 278f24362..e55c5659b 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -1,17 +1,17 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/src/ConsolePerf.regions.xml b/src/ConsolePerf.regions.xml index f08b86548..56ee384a8 100644 --- a/src/ConsolePerf.regions.xml +++ b/src/ConsolePerf.regions.xml @@ -1,32 +1,32 @@ - - + + - - - + + + - - - - - - - - - - - - - + + + + + + + + + + + + + CPU te.processhost.exe - + @@ -56,9 +56,9 @@ Commit conhost.exe;openconsole.exe - + - - - + + + diff --git a/src/ConsolePerf.wprp b/src/ConsolePerf.wprp index 1610514ef..d3bc316a5 100644 --- a/src/ConsolePerf.wprp +++ b/src/ConsolePerf.wprp @@ -1,9 +1,9 @@ - - - - - + + + + + @@ -11,21 +11,21 @@ - - + + - + - - + + - - - - - + + + + + @@ -45,31 +45,31 @@ - - - + + + - - - - + + + + - - - - - + + + + + - - - - + + + + diff --git a/src/server/ApiSorter.cpp b/src/server/ApiSorter.cpp index f04d3dbf4..6adf0f804 100644 --- a/src/server/ApiSorter.cpp +++ b/src/server/ApiSorter.cpp @@ -165,10 +165,10 @@ PCONSOLE_API_MSG ApiSorter::ConsoleDispatchRequest(_Inout_ PCONSOLE_API_MSG Mess const auto trace = Tracing::s_TraceApiCall(Status, Descriptor->TraceName); Status = (*Descriptor->Routine)(Message, &ReplyPending); } - if (Status != STATUS_BUFFER_TOO_SMALL) - { + if (Status != STATUS_BUFFER_TOO_SMALL) + { Status = NTSTATUS_FROM_HRESULT(Status); - } + } if (!ReplyPending) { diff --git a/src/terminal/adapter/adaptDispatch.cpp b/src/terminal/adapter/adaptDispatch.cpp index a0f3356bc..7af74342d 100644 --- a/src/terminal/adapter/adaptDispatch.cpp +++ b/src/terminal/adapter/adaptDispatch.cpp @@ -1512,7 +1512,7 @@ bool AdaptDispatch::SoftReset() } if (fSuccess) { - DispatchTypes::GraphicsOptions opt = DispatchTypes::GraphicsOptions::Off; + DispatchTypes::GraphicsOptions opt = DispatchTypes::GraphicsOptions::Off; fSuccess = SetGraphicsRendition(&opt, 1); // Normal rendition. } if (fSuccess) diff --git a/src/terminal/parser/ut_parser/OutputEngineTest.cpp b/src/terminal/parser/ut_parser/OutputEngineTest.cpp index b3edf84a7..15e423fff 100644 --- a/src/terminal/parser/ut_parser/OutputEngineTest.cpp +++ b/src/terminal/parser/ut_parser/OutputEngineTest.cpp @@ -840,7 +840,7 @@ public: bool _fDeleteCharacter; DispatchTypes::EraseType _eraseType; bool _fSetGraphics; - DispatchTypes::AnsiStatusType _statusReportType; + DispatchTypes::AnsiStatusType _statusReportType; bool _fDeviceStatusReport; bool _fDeviceAttributes; bool _fIsAltBuffer;