Re: [PATCH V2] Menu: add box style entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +		} else {
> > +			puts("   ");
> > +		}
> > +		printf(" %d: %-*s", me->num, m->width, me->display);
> > +	}
> 
> I think this could look a bit simpler if we had a
> static int printf_menu(int selected, const char *fmt, ...) function.
> 'selected' is a better name for the argument. with 'reverse' my first
> thought was that it prints backwards...
sorry I do not follow

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux