exact checks only!

SVN revision: 16924
This commit is contained in:
Carsten Haitzler 2005-09-25 02:14:01 +00:00
parent 4941bef9b0
commit 1c1ba59b79
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ ecore_x_netwm_icon_get(Ecore_X_Window win, int *width, int *height, unsigned int
len = data[0] * data[1];
src = &(data[2]);
if (len > (num_ret - 2))
if (len != (num_ret - 2))
{
if (icon) free(*icon);
free(data_ret);