aboutsummaryrefslogtreecommitdiff
path: root/emotes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emotes.cpp')
-rw-r--r--emotes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/emotes.cpp b/emotes.cpp
index b733822..8832a1a 100644
--- a/emotes.cpp
+++ b/emotes.cpp
@@ -37,7 +37,7 @@ void Courtroom::construct_emotes()
++x_mod_count;
//if emote number is divisible by columns with rest columns -1 then the next emote button should start on a new line
- if ((n % emote_columns) == (emote_columns - 1) && (n != 0))
+ if (x_mod_count == emote_columns)
{
++y_mod_count;
x_mod_count = 0;