Remove newlines from log messages
This commit is contained in:
1 parent
17625e20df
commit
718034f5fa
123 files changed
+1143
-1118
No files matched your search
+1
-1
@@ -127,7 +127,7 @@ SDL_Texture *LoadTexture(SDL_Renderer *renderer, const char *file, bool transpar
|
||||
|
||||
texture = SDL_CreateTextureFromSurface(renderer, temp);
|
||||
if (!texture) {
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't create texture: %s\n", SDL_GetError());
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't create texture: %s", SDL_GetError());
|
||||
}
|
||||
}
|
||||
SDL_DestroySurface(temp);
|
||||
|
||||
Reference in new issue
Block a user