On 03/20/2011 11:04 AM, Mike Blumenkrantz wrote:
> On Sun, 20 Mar 2011 01:48:30 -0700
> "Enlightenment SVN"<no-re...@enlightenment.org>  wrote:

>> +   if (!_evas_gl_x11_vi[screen]) return NULL;
>>
>> +   if (screen>= MAXSCRN)
>> +     {
>> +        ERR("Screen #%i beyond the maximum # of supported screens (%i)",
>> +            screen, MAXSCRN);
>> +        return NULL;
>> +     }
>> +

First access an array, then check index?

S.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to