From dc1846b694dad9c465c4ad7ad2d4c6d57fa099dd Mon Sep 17 00:00:00 2001 From: pescuma Date: Fri, 22 Feb 2008 03:09:05 +0000 Subject: Fixed copy from input area git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@44 c086bb3d-8645-0410-b8da-73a8550f86e7 --- Plugins/emoticons/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugins/emoticons/options.cpp') 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) -- cgit v1.2.3