pike.git / src / modules / Image / encodings / xcf.c

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:96:    if (TYPEOF(sp[-2]) != T_INT)    SIMPLE_BAD_ARG_ERROR("_sprintf",0,"integer");    if (TYPEOF(sp[-1]) != T_MAPPING)    SIMPLE_BAD_ARG_ERROR("_sprintf",1,"mapping");    x = sp[-2].u.integer;    pop_n_elems( args );       switch( x )    {    case 't': -  push_constant_text("SubString"); +  push_text("SubString");    return;    case 'O': -  push_constant_text("SubString( %O /* [+%d .. %d] */ )" ); +  push_text("SubString( %O /* [+%d .. %d] */ )" );    push_text("string"); f_substring_cast( 1 );       push_int64( s->len );    push_int64( s->offset );    f_sprintf( 4 );    return;    default:    push_int(0);    return;    }