Author: jreidinger Date: Mon Mar 2 13:01:19 2009 New Revision: 55836 URL: http://svn.opensuse.org/viewcvs/yast?rev=55836&view=rev Log: fix numbers of vga modes Modified: branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/section_widgets.ycp Modified: branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/section_widgets.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/juhliarik/bootloader-UIref... ============================================================================== --- branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/section_widgets.ycp (original) +++ branches/tmp/juhliarik/bootloader-UIrefactor/src/routines/section_widgets.ycp Mon Mar 2 13:01:19 2009 @@ -220,14 +220,14 @@ void VgaModeInit (string widget) { list<map> vga_modes = Initrd::VgaModes (); list items = maplist (map m, vga_modes, { - return `item (`id (sformat ("%1", m["mode"]:0)), + return `item (`id (sformat ("%1", tohexstring(m["mode"]:0))), // combo box item // %1 is X resolution (width) in pixels // %2 is Y serolution (height) in pixels // %3 is color depth (usually one of 8, 16, 24, 32) // %4 is the VGA mode ID (hexadecimal number) sformat (_("%1x%2, %3 bits (mode %4)"), - m["width"]:0, m["height"]:0, m["color"]:0, m["mode"]:0)); + m["width"]:0, m["height"]:0, m["color"]:0, tohexstring(m["mode"]:0))); }); // item of a combo box items = prepend (items, `item (`id ("normal"), _("Text Mode"))); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org