Windows progress message
This commit is contained in:
parent
0004b52f59
commit
e5a255a030
|
|
@ -1,6 +1,7 @@
|
||||||
2011-08-04 Holger Vogt
|
2011-08-04 Holger Vogt
|
||||||
* dcpss.c: tiny update to obtain compilation with MS VS 2008,
|
* dcpss.c: tiny update to obtain compilation with MS VS 2008,
|
||||||
code beautyfied
|
code beautyfied
|
||||||
|
* winmain.c, dcpss.c: Windows progress message improved
|
||||||
|
|
||||||
2011-08-04 Paolo Nenzi
|
2011-08-04 Paolo Nenzi
|
||||||
* (new) tests/pss ,
|
* (new) tests/pss ,
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -241,7 +241,11 @@ void SetAnalyse(
|
||||||
else if (DecaPercent == 0) {
|
else if (DecaPercent == 0) {
|
||||||
sprintf( s, "%s", Analyse);
|
sprintf( s, "%s", Analyse);
|
||||||
sprintf( t, "%s %s", PACKAGE_STRING, 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 {
|
else {
|
||||||
sprintf( s, "%s: %3.1f%%", Analyse, (double)DecaPercent/10.);
|
sprintf( s, "%s: %3.1f%%", Analyse, (double)DecaPercent/10.);
|
||||||
sprintf( t, "%s %3.1f%%", PACKAGE_STRING, (double)DecaPercent/10.);
|
sprintf( t, "%s %3.1f%%", PACKAGE_STRING, (double)DecaPercent/10.);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue