diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/etianalyse.cpp | 2 | ||||
-rw-r--r-- | src/figalyser.hpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/etianalyse.cpp b/src/etianalyse.cpp index c457085..f416c77 100644 --- a/src/etianalyse.cpp +++ b/src/etianalyse.cpp @@ -445,7 +445,7 @@ void ETI_Analyser::eti_analyse() } if (config.analyse_fic_carousel) { - figs.analyse(); + figs.analyse(get_mode_identity()); } } diff --git a/src/figalyser.hpp b/src/figalyser.hpp index bcbb3b6..10d0e92 100644 --- a/src/figalyser.hpp +++ b/src/figalyser.hpp @@ -32,11 +32,11 @@ class FIGalyser m_figs[m_fib].push_back(fig); } - void analyse() + void analyse(int mid) { printf("FIC "); - for (size_t fib = 0; fib < m_figs.size(); fib++) { + for (size_t fib = 0; fib < (mid==3?4:3); fib++) { int consumed = 7; int fic_size = 0; printf("[%1zu ", fib); @@ -80,7 +80,7 @@ class FIGalyser void clear() { m_figs.clear(); - m_figs.resize(3); + m_figs.resize(4); } private: |