Changeset 33 for trunk/orca/gl/dlist.c

Show
Ignore:
Timestamp:
02/08/06 19:36:45 (3 years ago)
Author:
krobillard
Message:

GL version compiles again.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/gl/dlist.c

    r25 r33  
    144144{ 
    145145    uint32_t key = 0; 
    146     OString* str = orAtomString( atom ); 
    147     char* cp  = str->charArray; 
    148     char* end = cp + str->used; 
    149  
    150     if( str->used > 5 ) 
     146    char* cp = orAtomCString( atom ); 
     147    char* end; 
     148 
     149    end = cp; 
     150    while( *end ) 
     151        ++end; 
     152 
     153    if( (end - cp) > 5 ) 
    151154        return 0; 
    152155