Removed newlines from error messages.

This commit is contained in:
Philipp Wiesemann
2017-03-26 21:00:19 +02:00
parent 00da0824f5
commit 266816b4aa
24 changed files with 26 additions and 26 deletions

View File

@@ -374,7 +374,7 @@ static int dollarNormalize(const SDL_DollarPath *path,SDL_FloatPoint *points)
dist += d;
}
if (numPoints < DOLLARNPOINTS-1) {
SDL_SetError("ERROR: NumPoints = %i\n",numPoints);
SDL_SetError("ERROR: NumPoints = %i", numPoints);
return 0;
}
/* copy the last point */