Loaders: Debug tweaks

This commit is contained in:
Kim Woelders 2023-02-03 19:13:19 +01:00
parent fb19c620e8
commit a81078e204
2 changed files with 3 additions and 3 deletions

View File

@ -190,8 +190,8 @@ _load(ImlibImage * im, int load_data)
inc = -h;
break;
}
D("l,s,y=%d,%d, %d - x,y=%4ld,%4ld\n", l, y, l + y,
(ptr2 - im->data) % im->w, (ptr2 - im->data) / im->w);
DL("l,s,y=%d,%d, %d - x,y=%4ld,%4ld\n", l, y, l + y,
(ptr2 - im->data) % im->w, (ptr2 - im->data) / im->w);
switch (jds.out_color_space)
{

View File

@ -254,7 +254,7 @@ _save(ImlibImage * im)
y += 1;
}
k++;
D("x, y = %2d,%2d: %d/%d\n", x, y, k, nval);
DL("x, y = %2d,%2d: %d/%d\n", x, y, k, nval);
fprintf(f, " 0x%02x%s%s", bits, k < nval ? "," : "",
(k == nval) || ((k % 12) == 0) ? "\n" : "");
}