Browse Source

Windows progress message

h_vogt 15 years ago
parent
commit
e5a255a030
  1. 1
      ChangeLog
  2. 2611
      src/spicelib/analysis/dcpss.c
  3. 6
      src/winmain.c

1
ChangeLog

@ -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 ,

2611
src/spicelib/analysis/dcpss.c
File diff suppressed because it is too large
View File

6
src/winmain.c

@ -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…
Cancel
Save