diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-03-02 00:58:21 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-03-02 00:58:21 +0000 |
commit | b95d4a9cc2465a53b3bd5ab0805ce9be781ffa8d (patch) | |
tree | b8ebf2cb50a9cd9ecc86041ce3ea7c92b5fecb27 /Plugins/emoticons/EmoticonsSelectionLayout.cpp | |
parent | eb85224c8af696aeacf86a34b5e7bb559433f12b (diff) |
emoticons:
- fixed and added some emoticons
- Added bee emoticon to YAHOO
- Fix to avoid showing only one emoticon in a row
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@148 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/emoticons/EmoticonsSelectionLayout.cpp')
-rw-r--r-- | Plugins/emoticons/EmoticonsSelectionLayout.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Plugins/emoticons/EmoticonsSelectionLayout.cpp b/Plugins/emoticons/EmoticonsSelectionLayout.cpp index 5c58244..f392853 100644 --- a/Plugins/emoticons/EmoticonsSelectionLayout.cpp +++ b/Plugins/emoticons/EmoticonsSelectionLayout.cpp @@ -144,6 +144,10 @@ int EmoticonsSelectionLayout::GetNumOfCols(int num_emotes) }
}
}
+
+ if (num_emotes % cols <= max(2, cols /3))
+ cols++;
+
return min(max(MIN_COLS, min(cols, MAX_COLS)), num_emotes);
}
|