Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
8kingdoms
8Kingdoms-printf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 8Kingdoms-printf.patch of Package 8kingdoms
--- 8Kingdoms-1.1.0/gui/engine/AdvGeom_old.cpp 2009-08-31 17:39:44.000000000 +0800 +++ 8Kingdoms-1.1.0/gui/engine/AdvGeom.cpp 2009-08-31 17:40:02.000000000 +0800 @@ -510,12 +510,12 @@ i++; if (i>=cum_c) { - printf("DIVIDION BY ZERO BUG t: %f, div: %f, seg_c: %i, i: %i",t,cum[i]/cum[cum_c-1],seg_c,i); +// printf("DIVIDION BY ZERO BUG t: %f, div: %f, seg_c: %i, i: %i",t,cum[i]/cum[cum_c-1],seg_c,i); // break; } if ((cum[cum_c-1]==0) || ((cum[i]/cum[cum_c-1])==0)) { - printf("DIVIDION BY ZERO BUG t: %f, div: %f, seg_c: %i, i: %i",t,cum[i]/cum[cum_c-1],seg_c,i); +// printf("DIVIDION BY ZERO BUG t: %f, div: %f, seg_c: %i, i: %i",t,cum[i]/cum[cum_c-1],seg_c,i); //break; } @@ -523,7 +523,7 @@ } catch(...) { - printf("DIVIDION BY ZERO BUG t: %f, div: %f, seg_c: %i, i: %i",t,cum,seg_c,i); +// printf("DIVIDION BY ZERO BUG t: %f, div: %f, seg_c: %i, i: %i",t,cum,seg_c,i); } // int s = (i-1) / (seg_c-1);
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