From 8703c78a42579df5af2f586ed3025b3463f5c3d1 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 1 Mar 2020 15:07:36 +0000 Subject: [PATCH] Code restyle. --- Aaru.VideoNow/Color.cs | 10 +++++----- Aaru.VideoNow/Xp.cs | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Aaru.VideoNow/Color.cs b/Aaru.VideoNow/Color.cs index c571aba..9bc0d09 100644 --- a/Aaru.VideoNow/Color.cs +++ b/Aaru.VideoNow/Color.cs @@ -93,7 +93,7 @@ namespace Aaru.VideoNow for(int i = 9; i <= frameBuffer.Length; i += 10) { - switch(i / 10 % 4) + switch((i / 10) % 4) { case 0: progress = '-'; @@ -181,7 +181,7 @@ namespace Aaru.VideoNow for(int i = 9; i <= frameBuffer.Length; i += 10) { - switch(i / 10 % 4) + switch((i / 10) % 4) { case 0: progress = '-'; @@ -248,7 +248,7 @@ namespace Aaru.VideoNow for(int i = 9; i <= frameBuffer.Length; i += 10) { - switch(i / 10 % 4) + switch((i / 10) % 4) { case 0: progress = '-'; @@ -307,7 +307,7 @@ namespace Aaru.VideoNow { indexBlock2 = index + 120; - switch(index / 10 % 4) + switch((index / 10) % 4) { case 0: progress = '-'; @@ -380,7 +380,7 @@ namespace Aaru.VideoNow for(int row = 0; row < 80; row++) { for(int p = 0; p < 432; p++) - frameBuffer[row * 432 + p] = frameBuffer2[row * 432 + (431 - p)]; + frameBuffer[(row * 432) + p] = frameBuffer2[(row * 432) + (431 - p)]; } return frameBuffer; diff --git a/Aaru.VideoNow/Xp.cs b/Aaru.VideoNow/Xp.cs index f5b2290..e12331f 100644 --- a/Aaru.VideoNow/Xp.cs +++ b/Aaru.VideoNow/Xp.cs @@ -180,7 +180,7 @@ namespace Aaru.VideoNow for(int i = 9; i <= frameBuffer.Length; i += 10) { - switch(i / 10 % 4) + switch((i / 10) % 4) { case 0: progress = '-'; @@ -268,7 +268,7 @@ namespace Aaru.VideoNow for(int i = 9; i <= frameBuffer.Length; i += 10) { - switch(i / 10 % 4) + switch((i / 10) % 4) { case 0: progress = '-'; @@ -335,7 +335,7 @@ namespace Aaru.VideoNow for(int i = 9; i <= frameBuffer.Length; i += 10) { - switch(i / 10 % 4) + switch((i / 10) % 4) { case 0: progress = '-';