From bc9c284a9b9feea412a2a7f41215e58c7bb9d9a8 Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 9 Dec 2023 15:22:45 -0800 Subject: [PATCH] whitespace fix --- VortexEngine/src/Menus/MenuList/Randomizer.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/VortexEngine/src/Menus/MenuList/Randomizer.cpp b/VortexEngine/src/Menus/MenuList/Randomizer.cpp index c3614f96e3..ad10d25ddb 100644 --- a/VortexEngine/src/Menus/MenuList/Randomizer.cpp +++ b/VortexEngine/src/Menus/MenuList/Randomizer.cpp @@ -233,10 +233,10 @@ void Randomizer::traditionalPattern(Random &ctx, PatternArgs &outArgs) // call next8 explicitly in this order because the order they // are called is undefined when called as parameters to another function. // ex: f(a,b,c) may call in the order a,b,c or c,b,a depending on compiler. - // So different compilers may produce different results, + // So different compilers may produce different results, // but like this it is explicit uint8_t off = ctx.next8(8, 60); // off duration 0 -> 60 - uint8_t on = ctx.next8(1, 20); // on duration 1 -> 20 + uint8_t on = ctx.next8(1, 20); // on duration 1 -> 20 outArgs.init(on, off); } @@ -245,11 +245,11 @@ void Randomizer::gapPattern(Random &ctx, PatternArgs &outArgs) // call next8 explicitly in this order because the order they // are called is undefined when called as parameters to another function. // ex: f(a,b,c) may call in the order a,b,c or c,b,a depending on compiler. - // So different compilers may produce different results, + // So different compilers may produce different results, // but like this it is explicit uint8_t gap = ctx.next8(40, 100); // gap duration 40 -> 100 uint8_t off = ctx.next8(0, 6); // off duration 0 -> 6 - uint8_t on = ctx.next8(1, 10); // on duration 1 -> 10 + uint8_t on = ctx.next8(1, 10); // on duration 1 -> 10 outArgs.init(on, off, gap); } @@ -258,11 +258,11 @@ void Randomizer::dashPattern(Random &ctx, PatternArgs &outArgs) // call next8 explicitly in this order because the order they // are called is undefined when called as parameters to another function. // ex: f(a,b,c) may call in the order a,b,c or c,b,a depending on compiler. - // So different compilers may produce different results, + // So different compilers may produce different results, // but like this it is explicit uint8_t dash = ctx.next8(20, 30); // dash duration 20 -> 30 uint8_t gap = ctx.next8(20, 30); // need gap 20 -> 30 - uint8_t off = ctx.next8(0, 10); // off duration 0 -> 10 + uint8_t off = ctx.next8(0, 10); // off duration 0 -> 10 uint8_t on = ctx.next8(1, 10); // on duration 1 -> 10 outArgs.init(on, off, gap, dash); } @@ -272,10 +272,10 @@ void Randomizer::crushPattern(Random &ctx, PatternArgs &outArgs) // call next8 explicitly in this order because the order they // are called is undefined when called as parameters to another function. // ex: f(a,b,c) may call in the order a,b,c or c,b,a depending on compiler. - // So different compilers may produce different results, + // So different compilers may produce different results, // but like this it is explicit uint8_t group = ctx.next8(0, 8); // groupsize 0 to 8 - uint8_t dash = 0; // dash 0 + uint8_t dash = 0; // dash 0 uint8_t gap = ctx.next8(20, 40); // need gap 20 -> 40 uint8_t off = ctx.next8(0, 10); // off duration 0 -> 5 uint8_t on = ctx.next8(1, 10); // on duration 1 -> 10