Amine212 / burg

Automatically exported from code.google.com/p/burg
0 stars 0 forks source link

grub_default when folded #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set grub_default to 4(which is windows in my case)
2. update-burg
3. reboot or run burg-emu

What is the expected output? What do you see instead?
 Windows is default when burg is unfolded, but ubuntu(first entry) is default when toggle to fold, windows is default again if i toggle back

What version of the product are you using? On what operating system?
burg-emu -V: 1.98+20100623-1
Ubuntu 10.04 32bit

Please provide any additional information below.

Original issue reported on code.google.com by jokkakim on 17 Jul 2010 at 12:22

GoogleCodeExporter commented 8 years ago
grub_default is calculated using current menu index. So after folded, the 
number of menu entries reduced and the old grub_default value 4 become invalid. 
But this method could have the above side effect, I'd fix it by using the 
original menu index.

Original comment by bean12...@gmail.com on 20 Jul 2010 at 3:38