Show
Ignore:
Timestamp:
11/23/09 14:16:32 (2 years ago)
Author:
Erwan Velu <erwan.velu@…>
Children:
219c2a3ea81917d4c80814dce2c58f85dbcf2cf9
Parents:
bb88c66722eedcf2a2e5fb03051c6cef4c9ad5a3
git-committer:
Erwan Velu <erwan.velu@free.fr> / 2009-11-23T15:16:32Z+0100
Message:

hdt: Rounding detected memory size

Impact: Visual

Rounding values to have more realistic values

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/hdt/hdt-menu-memory.c

    rbb88c6 r06a7af  
    347347 
    348348  snprintf(buffer, sizeof(buffer), " %lu MB detected ", 
    349         hardware->detected_memory_size>>10); 
     349        (hardware->detected_memory_size+(1<<9))>>10); 
    350350  add_item(buffer, "Detected Memory", OPT_INACTIVE, NULL,menu->memory_sub_menu[0].menu); 
    351351  menu->memory_menu.items_count++;