diff --git a/src/battle/bullets.c b/src/battle/bullets.c index ad43112..f8628cf 100644 --- a/src/battle/bullets.c +++ b/src/battle/bullets.c @@ -142,7 +142,7 @@ static void resizeDrawList(void) n = drawCapacity + INITIAL_BULLET_DRAW_CAPACITY; - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing bullet draw capacity: %d -> %d\n", drawCapacity, n); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing bullet draw capacity: %d -> %d", drawCapacity, n); bulletsToDraw = resize(bulletsToDraw, sizeof(Bullet*) * drawCapacity, sizeof(Bullet*) * n); diff --git a/src/battle/debris.c b/src/battle/debris.c index b6947a5..8473633 100644 --- a/src/battle/debris.c +++ b/src/battle/debris.c @@ -125,7 +125,7 @@ static void resizeDrawList(void) n = drawCapacity + INITIAL_DEBRIS_DRAW_CAPACITY; - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing debris draw capacity: %d -> %d\n", drawCapacity, n); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing debris draw capacity: %d -> %d", drawCapacity, n); debrisToDraw = resize(debrisToDraw, sizeof(Debris*) * drawCapacity, sizeof(Debris*) * n); drawCapacity = n; diff --git a/src/battle/effects.c b/src/battle/effects.c index cbc68fc..7c8109e 100644 --- a/src/battle/effects.c +++ b/src/battle/effects.c @@ -121,7 +121,7 @@ static void resizeDrawList(void) n = drawCapacity + INITIAL_EFFECT_DRAW_CAPACITY; - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing effect draw capacity: %d -> %d\n", drawCapacity, n); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing effect draw capacity: %d -> %d", drawCapacity, n); effectsToDraw = resize(effectsToDraw, sizeof(Effect*) * drawCapacity, sizeof(Effect*) * n); diff --git a/src/battle/quadtree.c b/src/battle/quadtree.c index c6eecf6..063d56d 100644 --- a/src/battle/quadtree.c +++ b/src/battle/quadtree.c @@ -131,7 +131,7 @@ static void resizeQTEntCapacity(Quadtree *root) n = root->capacity + QT_INITIAL_CAPACITY; - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing QT node: %d -> %d\n", root->capacity, n); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing QT node: %d -> %d", root->capacity, n); root->ents = resize(root->ents, sizeof(Entity*) * root->capacity, sizeof(Entity*) * n); root->capacity = n; @@ -261,7 +261,7 @@ static void resizeCandidates(void) n = cCapacity + QT_INITIAL_CAPACITY; - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing candidates: %d -> %d\n", cCapacity, n); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "Resizing candidates: %d -> %d", cCapacity, n); candidates = resize(candidates, sizeof(Entity*) * cCapacity, sizeof(Entity*) * n); cCapacity = n; diff --git a/src/system/init.c b/src/system/init.c index 2d04920..58e1c7b 100644 --- a/src/system/init.c +++ b/src/system/init.c @@ -40,15 +40,15 @@ void init18N(int argc, char *argv[]) if (languageId >= argc) { - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_ERROR, "You must specify a language to use with -language. Using default.\n"); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_ERROR, "You must specify a language to use with -language. Using default."); } } } setLanguage("tbftss", languageId == -1 ? NULL : argv[languageId]); - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "Numeric is %s\n", setlocale(LC_NUMERIC, "C")); - SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "atof(2.75) is %f\n", atof("2.75")); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "Numeric is %s", setlocale(LC_NUMERIC, "C")); + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "atof(2.75) is %f", atof("2.75")); } void initSDL(void)