summaryrefslogtreecommitdiff
path: root/Plugins/emoticons/options.cpp
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-11-06 00:44:40 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2008-11-06 00:44:40 +0000
commit22aec257cb2027bd75158492dea9c63075efbadd (patch)
tree1f72b4ad65feacbf902925f4bb2066045c66e045 /Plugins/emoticons/options.cpp
parentf0d7043a6ec0011c2fd8c8fbbe1250b15ae4aef3 (diff)
. 0.0.2.10
* Better handling of text in input area * Fixed handling of URLs + Added initial version of Tlen git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@112 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/emoticons/options.cpp')
-rw-r--r--Plugins/emoticons/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/emoticons/options.cpp b/Plugins/emoticons/options.cpp
index 13a02a4..49bf7d3 100644
--- a/Plugins/emoticons/options.cpp
+++ b/Plugins/emoticons/options.cpp
@@ -130,7 +130,7 @@ static BOOL CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
pd->max_height = 0;
pd->max_width = 0;
srand((unsigned int) time(NULL));
- int prob = (pd->pack->images.getCount() - 15) / 10 + 1;
+ int prob = (pd->pack->images.getCount() - 15) / 20 + 1;
for(int j = 0, count = 0; j < pd->pack->images.getCount() && count < 15; j++) {
if (rand() % prob != 0)
continue;