Remove newlines from log messages

This commit is contained in:
nightmareci authored and Sam Lantinga committed 2025-01-22 20:25:04 -08:00
1 parent 17625e20df
commit 718034f5fa
123 files changed
+1143 -1118

No files matched your search

+4 -4
View File
@@ -25,15 +25,15 @@ int main(int argc, char *argv[])
}
#if SDL_VERSION_ATLEAST(3, 0, 0)
SDL_Log("Compiled with SDL 3.0 or newer\n");
SDL_Log("Compiled with SDL 3.0 or newer");
#else
SDL_Log("Compiled with SDL older than 3.0\n");
SDL_Log("Compiled with SDL older than 3.0");
#endif
SDL_Log("Compiled version: %d.%d.%d (%s)\n",
SDL_Log("Compiled version: %d.%d.%d (%s)",
SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_MICRO_VERSION,
SDL_REVISION);
int version = SDL_GetVersion();
SDL_Log("Runtime version: %d.%d.%d (%s)\n",
SDL_Log("Runtime version: %d.%d.%d (%s)",
SDL_VERSIONNUM_MAJOR(version), SDL_VERSIONNUM_MINOR(version), SDL_VERSIONNUM_MICRO(version),
SDL_GetRevision());
SDL_Quit();