Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9633 → Rev 9634

/programs/cmm/imgedit/imgedit.c
231,12 → 231,12
if (!_text) w = PAD + PAD + 6;
if (_icon_n==-1) w = strlen(_text) * 8 + 14;
if (_active==-1) {
$push COL_LIGHT
EDX = COL_LINE;
$push COL_LIGHT
} else if (_active) {
img_ptr = icons18a.image;
$push COL_BUTTON_TEXT
EDX = COL_BUTTON;
$push COL_BUTTON_TEXT
 
} else {
$push COL_WORK_TEXT
302,8 → 302,6
 
int color_depth_id;
void event_set_color_depth() {
//debugval("buttonid", pressed_button_id);
//debugln(libimg_bpp[pressed_button_id-color_depth_id]);
img_convert stdcall(main_image.image, 0, pressed_button_id-color_depth_id, 0, 0);
if (!EAX) {
notify("'ImageEdit Pro\nConvertation error' -Et");