Changeset 512 for trunk/thune/files.c

Show
Ignore:
Timestamp:
02/16/08 17:53:55 (9 months ago)
Author:
krobillard
Message:

font! can now be made from a raster! & binary!.
Re-wrote TexFont? to simplify storage.
'to now works for custom datatypes.
Added .t
if/ now requires selector.
Can make vector! (int) from binary!
Can load PNG from binary!
Added FindThuneGL.cmake

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/files.c

    r510 r512  
    753753    char* cpB; 
    754754 
    755     if( ! ur_binarySlice( ut, tos, &cpA, &cpB ) || (cpA == 0) ) 
     755    if( ! ur_binarySlice( ut, tos, &cpA, &cpB ) ) 
     756    { 
     757        ur_throwErr( UR_ERR_DATATYPE, "decompress expected binary!" ); 
     758        return; 
     759    } 
     760    if( cpA == 0 ) 
    756761        return; 
    757762