single space indent in analysis window

This commit is contained in:
Holger Vogt 2020-02-17 21:53:41 +01:00
parent eee2b0b7fa
commit 835c99560e
1 changed files with 3 additions and 3 deletions

View File

@ -237,15 +237,15 @@ SetAnalyse(char *Analyse, /* in: analysis type */
sprintf(t, "%s", PACKAGE_STRING);
}
else if (DecaPercent == 0) {
sprintf(s, "%s", Analyse);
sprintf(s, " %s", Analyse);
sprintf(t, "%s %s", PACKAGE_STRING, Analyse);
}
else if (!strcmp(Analyse, "shooting")) {
sprintf(s, "%s: %d", Analyse, DecaPercent);
sprintf(s, " %s: %d", Analyse, DecaPercent);
sprintf(t, "%s %d", PACKAGE_STRING, DecaPercent);
}
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.);
}
timebefore.dstflag = timenow.dstflag;