Changeset 4123 for libcaca


Ignore:
Timestamp:
Dec 14, 2009, 4:58:31 PM (10 years ago)
Author:
Pascal Terjan
Message:
  • Remove tabs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/ruby/caca-canvas.c

    r4105 r4123  
    468468    {
    469469        v = rb_ary_entry(coords, i);
    470         if(l==6)
    471             ccoords[i] = NUM2INT(v);
    472         else
    473         {
     470        if(l==6)
     471            ccoords[i] = NUM2INT(v);
     472        else
     473        {
    474474            if((TYPE(v) != T_ARRAY) || (RARRAY(v)->len != 2))
    475                     rb_raise(rb_eArgError, "invalid coords list");
     475                rb_raise(rb_eArgError, "invalid coords list");
    476476            ccoords[2*i] = NUM2INT(rb_ary_entry(v, 0));
    477477            ccoords[2*i+1] = NUM2INT(rb_ary_entry(v, 1));
     
    492492        {
    493493            if((TYPE(v) != T_ARRAY) || (RARRAY(v)->len != 2))
    494                     rb_raise(rb_eArgError, "invalid uv list");
     494                rb_raise(rb_eArgError, "invalid uv list");
    495495            ccoords[2*i] = NUM2DBL(rb_ary_entry(v, 0));
    496496            ccoords[2*i+1] = NUM2DBL(rb_ary_entry(v, 1));
Note: See TracChangeset for help on using the changeset viewer.