|
Rockbox mail archiveSubject: Re: linus: apps/gui gwps-common.c,1.1,1.2Re: linus: apps/gui gwps-common.c,1.1,1.2
From: Dave Wiard <lists_at_wiard.net>
Date: Thu, 17 Nov 2005 15:32:43 -0800 Linus, You're my hero! :) One customization down... Only one more. Animated battery during charging. Dave cvs_at_labb.contactor.se wrote: > Update of /cvsroot/rockbox/apps/gui > In directory labb:/tmp/cvs-serv17349 > > Modified Files: > gwps-common.c > Log Message: > Removed the percent symbol from the volume and battery WPS tags > > Index: gwps-common.c > =================================================================== > RCS file: /cvsroot/rockbox/apps/gui/gwps-common.c,v > retrieving revision 1.1 > retrieving revision 1.2 > diff -u -d -r1.1 -r1.2 > --- gwps-common.c 17 Nov 2005 20:20:01 -0000 1.1 > +++ gwps-common.c 17 Nov 2005 23:27:42 -0000 1.2 > _at__at_ -344,7 +344,7 _at__at_ > > case 'v': /* volume */ > *flags |= WPS_REFRESH_DYNAMIC; > - snprintf(buf, buf_size, "%d%%", global_settings.volume); > + snprintf(buf, buf_size, "%d", global_settings.volume); > *intval = global_settings.volume / 10 + 1; > return buf; > > _at__at_ -403,7 +403,7 _at__at_ > int l = battery_level(); > if (l > -1) > { > - snprintf(buf, buf_size, "%d%%", l); > + snprintf(buf, buf_size, "%d", l); > *intval = l / 20 + 1; > } > else > > _______________________________________________ > rockbox-cvs mailing list > rockbox-cvs_at_cool.haxx.se > http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs Received on 2005-11-18 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |