diff --git a/programs/develop/libraries/box_lib/trunk/box_lib.mac b/programs/develop/libraries/box_lib/trunk/box_lib.mac index f5bbe3df17..26dd232f74 100644 --- a/programs/develop/libraries/box_lib/trunk/box_lib.mac +++ b/programs/develop/libraries/box_lib/trunk/box_lib.mac @@ -88,15 +88,15 @@ macro edit_boxes_set_sys_color start,end,color_table mov edi,start mov ecx,((end-start)/ed_struc_size) mov esi,color_table - mov eax,[esi+system_colors.work_graph] - mov ebx,[esi+system_colors.work] - mov ed_focus_border_color,eax + mov ebx,[esi+system_colors.work_graph] + mov eax,[esi+system_colors.work] shr eax,1 shr ebx,1 and eax,7F7F7Fh and ebx,7F7F7Fh add eax,ebx @@: + mov ed_focus_border_color,ebx mov ed_blur_border_color,eax mov shift_color,dword 0A4C4E4h mov ed_text_color,dword 0