version 1.29, 2013/03/25 10:07:40 |
version 1.30, 2013/10/10 11:49:29 |
|
|
char *buf, code[128]; |
char *buf, code[128]; |
size_t len, off, size, codelen; |
size_t len, off, size, codelen; |
u_int xx; |
u_int xx; |
|
const struct grid_line *gl; |
|
|
GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx); |
GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx); |
|
|
|
|
buf = xmalloc(len); |
buf = xmalloc(len); |
off = 0; |
off = 0; |
|
|
|
gl = grid_peek_line(gd, py); |
for (xx = px; xx < px + nx; xx++) { |
for (xx = px; xx < px + nx; xx++) { |
gc = grid_peek_cell(gd, xx, py); |
if (gl == NULL || xx >= gl->cellsize) |
|
break; |
|
gc = &gl->celldata[xx]; |
if (gc->flags & GRID_FLAG_PADDING) |
if (gc->flags & GRID_FLAG_PADDING) |
continue; |
continue; |
grid_cell_get(gc, &ud); |
grid_cell_get(gc, &ud); |