3fe0d99
Index: vodovod.svn/njamfont.cpp
3fe0d99
===================================================================
3fe0d99
--- vodovod.svn/njamfont.cpp	(revision 23)
3fe0d99
+++ vodovod.svn/njamfont.cpp	(working copy)
3fe0d99
@@ -46,7 +46,7 @@
3fe0d99
     if (!m_Font)
3fe0d99
     {
3fe0d99
         printf(_("FAILED.\n"));
3fe0d99
-        printf((const char *)TTF_GetError());
3fe0d99
+        fputs((const char *)TTF_GetError(), stdout);
3fe0d99
         return;
3fe0d99
     }
3fe0d99
     printf(_("OK.\n"));
3fe0d99
@@ -115,8 +115,8 @@
3fe0d99
     SDL_Surface *stemp = TTF_RenderUTF8_Blended(m_Font, Text, m_Color);
3fe0d99
     if (!stemp)
3fe0d99
     {
3fe0d99
-        printf(_("Failed to create text image.\n"));
3fe0d99
-        printf((const char *)TTF_GetError());
3fe0d99
+        puts(_("Failed to create text image."));
3fe0d99
+        fputs((const char *)TTF_GetError(), stdout);
3fe0d99
         return false;
3fe0d99
     }
3fe0d99
     SDL_Rect dest;
3fe0d99
@@ -124,8 +124,8 @@
3fe0d99
 
3fe0d99
     if (0 != SDL_BlitSurface(stemp, 0, Destination, &dest))
3fe0d99
     {
3fe0d99
-        printf(_("Failed to blit font character image.\n"));
3fe0d99
-        printf((const char *)SDL_GetError());
3fe0d99
+        puts(_("Failed to blit font character image."));
3fe0d99
+        fputs((const char *)SDL_GetError(), stdout);
3fe0d99
         SDL_FreeSurface(stemp);
3fe0d99
         return false;
3fe0d99
     }