parent
ba31ab3044
commit
8cd258df4e
1 changed files with 3 additions and 3 deletions
|
|
@ -35,12 +35,12 @@ getint(char *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
crop(Memimage *m, ulong c)
|
crop(Memimage *m, uint32 c)
|
||||||
{
|
{
|
||||||
Memimage *n;
|
Memimage *n;
|
||||||
int x, y, bpl, wpl;
|
int x, y, bpl, wpl;
|
||||||
int left, right, top, bottom;
|
int left, right, top, bottom;
|
||||||
ulong *buf;
|
uint32 *buf;
|
||||||
|
|
||||||
left = m->r.max.x;
|
left = m->r.max.x;
|
||||||
right = m->r.min.x;
|
right = m->r.min.x;
|
||||||
|
|
@ -90,7 +90,7 @@ main(int argc, char *argv[])
|
||||||
Point t;
|
Point t;
|
||||||
Memimage *m, *new;
|
Memimage *m, *new;
|
||||||
char *file;
|
char *file;
|
||||||
ulong bg, cropval;
|
uint32 bg, cropval;
|
||||||
long dw;
|
long dw;
|
||||||
|
|
||||||
memimageinit();
|
memimageinit();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue