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

version» Context lines:

pike.git/src/modules/Image/encodings/xcf.c:103:    if (TYPEOF(sp[-2]) != T_INT)    SIMPLE_BAD_ARG_ERROR("_sprintf",0,"int");    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_text("SubString"); +  push_static_text("SubString");    return;    case 'O': -  push_text("SubString( %O /* [+%d .. %d] */ )" ); +  push_static_text("SubString( %O /* [+%d .. %d] */ )" );    ref_push_string(literal_string_string); f_substring_cast( 1 );       push_int64( s->len );    push_int64( s->offset );    f_sprintf( 4 );    return;    default:    push_int(0);    return;    }