Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
d4x
d4x-listsprintf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File d4x-listsprintf.patch of Package d4x
--- main/face/list.cc +++ main/face/list.cc @@ -993,7 +993,7 @@ //FIXME: std::string and boost::lexical_cast! char b[100]; d4x_percent_str(temp->Percent, b, sizeof(b)); - sprintf(data, "%s%(%lli/%lli)",b,fsize_t(temp->Size),temp->finfo.size); + sprintf(data, "%s%% (%lli/%lli)",b,fsize_t(temp->Size),temp->finfo.size); gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(ProgressOfDownload),(temp->Percent>100?100:temp->Percent)/100.0); gtk_progress_bar_set_text(GTK_PROGRESS_BAR(ProgressOfDownload),data); }else{
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor