mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-09-28 15:55:34 +00:00
tidying
This commit is contained in:
parent
d748aab228
commit
9d57fcf366
@ -18,13 +18,11 @@ public class PrintShopGraphic extends AbstractFile
|
||||
int element = 0;
|
||||
|
||||
for (int ptr = 0; ptr < 572; ptr++)
|
||||
{
|
||||
for (int px = 7; px >= 0; px--)
|
||||
{
|
||||
int val = (buffer[ptr] >> px) & 0x01;
|
||||
dataBuffer.setElem (element++, val == 0 ? 255 : 0);
|
||||
}
|
||||
}
|
||||
|
||||
g2d.dispose ();
|
||||
}
|
||||
@ -39,5 +37,4 @@ public class PrintShopGraphic extends AbstractFile
|
||||
|
||||
return text.toString ();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user