Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: icons.c Log Message: Fix icon size selection. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/icons.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- icons.c 8 Jul 2005 16:48:08 -0000 1.4 +++ icons.c 9 Jul 2005 12:06:18 -0000 1.5 @@ -45,15 +45,14 @@ k = j; break; /* First exact match */ } - /* FIXME - Size selection is not correct */ - if (sj < sz) + if (sj > sz) { - if (sj <= sbest) + if (sbest > sz && sj >= sbest) continue; } else { - if (sbest && sj >= sbest) + if (sj <= sbest) continue; } k = j; ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs