Show
Ignore:
Timestamp:
02/17/06 15:30:01 (3 years ago)
Author:
krobillard
Message:

Now using orDecimal() & orInt() where appropriate.

Files:
1 modified

Legend:

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

    r37 r54  
    636636    tf  = &res->tfont; 
    637637 
    638     psize = (a1 + 2)->integer; 
     638    psize = orInt(a1 + 2); 
    639639    if( psize < 1 ) 
    640640        psize = 20; 
     
    657657        if( arg->type == OT_INTEGER ) 
    658658        { 
    659             tf->tex_width  = arg->integer; 
    660             tf->tex_height = arg->integer; 
     659            tf->tex_width  = orInt(arg); 
     660            tf->tex_height = orInt(arg); 
    661661        } 
    662662        else