summaryrefslogtreecommitdiff
path: root/src/drv
diff options
context:
space:
mode:
authorscuri <scuri>2011-09-27 19:06:19 +0000
committerscuri <scuri>2011-09-27 19:06:19 +0000
commit18dc8b841de3c7acf274fe4a2fb21a37091c6cb0 (patch)
tree5561e206f2bf9d3dba3f9d3c8dcc076dfe0e97f2 /src/drv
parent6b4dae19b6770b5b151afed4548228488e4ad771 (diff)
*** empty log message ***
Diffstat (limited to 'src/drv')
-rw-r--r--src/drv/cdgl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drv/cdgl.c b/src/drv/cdgl.c
index deb7704..d88851f 100644
--- a/src/drv/cdgl.c
+++ b/src/drv/cdgl.c
@@ -441,8 +441,7 @@ static int sGetFontFileName(const char *font_name, int bold, int italic, char* f
{
if (cdStrEqualNoCasePartial(szName, localFontName))
{
- //"%s/%s.ttf"
- sprintf(fileName, "%s\\%s", sGetFontDir(), szData);
+ sprintf(fileName, "%s\\%s", sGetFontDir(), szData); // szData already includes file extension
bResult = 1;
break;
}