version 1.34 | version 1.35 | |||
---|---|---|---|---|
|
| |||
} | } | |||
} | } | |||
x=0;y=w*h*3; | x=0;y=w*h*3; | |||
while (x<y){ | while (y>0){ | |||
r=write(f,buf+x,y); | r=write(f,buf+x,y); | |||
if (r<=0){ | if (r<=0){ | |||
mprintf((0,"screenshot error, couldn't write to %s (err %i)\n",savename,errno)); | mprintf((0,"screenshot error, couldn't write to %s (err %i)\n",savename,errno)); |
Legend: | |
line(s) removed in v.1.34 | |
line(s) changed | |
line(s) added in v.1.35 |