Fix TCC
This commit is contained in:
parent
09031d209d
commit
5522f03daf
6 changed files with 57 additions and 29 deletions
|
@ -176,7 +176,7 @@ int main(int argc, char *argv[])
|
|||
musicFile = fopen("assets/music","rb");
|
||||
|
||||
if (!musicFile)
|
||||
fputs("could not open music file",stderr);
|
||||
fputs("could not open music file\n",stderr);
|
||||
#endif
|
||||
|
||||
puts("initializing game");
|
||||
|
@ -204,7 +204,7 @@ int main(int argc, char *argv[])
|
|||
#endif
|
||||
|
||||
if (SDL_OpenAudio(&audioSpec,NULL) < 0)
|
||||
fputs("could not initialize audio",stderr);
|
||||
fputs("could not initialize audio\n",stderr);
|
||||
|
||||
SDL_PauseAudio(0);
|
||||
|
||||
|
@ -215,7 +215,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (!window)
|
||||
{
|
||||
fputs("ERROR: couldn't create window",stderr);
|
||||
fputs("ERROR: couldn't create window\n",stderr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -226,7 +226,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (!renderer)
|
||||
{
|
||||
fputs("ERROR: couldn't create renderer",stderr);
|
||||
fputs("ERROR: couldn't create renderer\n",stderr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -242,7 +242,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (!texture)
|
||||
{
|
||||
fputs("ERROR: couldn't create texture",stderr);
|
||||
fputs("ERROR: couldn't create texture\n",stderr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue