diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2008-02-22 03:09:05 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2008-02-22 03:09:05 +0000 |
commit | dc1846b694dad9c465c4ad7ad2d4c6d57fa099dd (patch) | |
tree | 6eb393c81d1cac76cd31624a7024b7ecd180a602 /Plugins/emoticons/options.cpp | |
parent | 0526fdf65bfde55d85359cd4d6e083d1a9a78170 (diff) |
Fixed copy from input area
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@44 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/emoticons/options.cpp')
-rw-r--r-- | Plugins/emoticons/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/emoticons/options.cpp b/Plugins/emoticons/options.cpp index 6c888ac..e3639e5 100644 --- a/Plugins/emoticons/options.cpp +++ b/Plugins/emoticons/options.cpp @@ -127,7 +127,7 @@ static BOOL CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA pd->max_height = 0;
pd->max_width = 0;
- srand(time(NULL));
+ srand((unsigned int) time(NULL));
int prob = (pd->pack->images.getCount() - 15) / 30 + 1;
for(int j = 0, count = 0; j < pd->pack->images.getCount() && count < 15; j++) {
if (rand() % prob != 0)
|