Windows progress message

This commit is contained in:
h_vogt 2011-08-04 22:12:39 +00:00
parent 0004b52f59
commit e5a255a030
3 changed files with 1236 additions and 1242 deletions

View File

@ -1,6 +1,7 @@
2011-08-04 Holger Vogt
* dcpss.c: tiny update to obtain compilation with MS VS 2008,
code beautyfied
* winmain.c, dcpss.c: Windows progress message improved
2011-08-04 Paolo Nenzi
* (new) tests/pss ,

File diff suppressed because it is too large Load Diff

View File

@ -241,7 +241,11 @@ void SetAnalyse(
else if (DecaPercent == 0) {
sprintf( s, "%s", Analyse);
sprintf( t, "%s %s", PACKAGE_STRING, Analyse);
}
}
else if (!strcmp(Analyse, "shooting")) {
sprintf( s, "%s: %d", Analyse, DecaPercent);
sprintf( t, "%s %d", PACKAGE_STRING, DecaPercent);
}
else {
sprintf( s, "%s: %3.1f%%", Analyse, (double)DecaPercent/10.);
sprintf( t, "%s %3.1f%%", PACKAGE_STRING, (double)DecaPercent/10.);