summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rwxr-xr-xsrc/client/font.c7
-rwxr-xr-xsrc/client/font.h2
2 files changed, 2 insertions, 7 deletions
diff --git a/src/client/font.c b/src/client/font.c
index 07b98f4..5f4e692 100755
--- a/src/client/font.c
+++ b/src/client/font.c
@@ -12,11 +12,6 @@ bool_t isFontInicialized()
return isFontInit;
}
-/*
- * Inicialuzuje font.
- * nacita font zo suboru *file o velkosti size
- * Automaticky sa styk nastavy ako TTF_STYLE_BOLD
- */
void initFont(char *file,int size)
{
char str[STR_PATH_SIZE];
@@ -41,7 +36,7 @@ void initFont(char *file,int size)
fontSize = size;
#ifdef DEBUG
- printf("Loading font: \"%s\"\n", file);
+ printf(_("Loading font: \"%s\"\n"), file);
#endif
isFontInit = TRUE;
}
diff --git a/src/client/font.h b/src/client/font.h
index 418cef3..b404e59 100755
--- a/src/client/font.h
+++ b/src/client/font.h
@@ -16,7 +16,7 @@
#define COLOR_YELLOW 255, 255, 0
#define FONT_SIZE 16
-#define FONT_FILE "DejaVuSans.ttf"
+
extern bool_t isFontInicialized();
extern void initFont(char *file,int size);
extern void drawFont(char *s,int x,int y,int r,int g,int b);