shouldnt

Code:
 int i,j;
    for(j=y;j<y+20;j++)
    {
        for(i=x;i<x+20;i++)
        {
            putpixel(i,j,bit.bit[j-y][i-x]);
        }
    }
be

Code:
 int i,j;
    for(x=y;j<y+20;j++)
    {
        for(y=x;i<x+20;i++)
        {
            putpixel(i,j,bit.bit[j-y][i-x]);
        }
    }
?