makefile updates

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4772 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-01-14 23:46:03 +00:00
parent 9de9c18cea
commit d42fd4eda2
3 changed files with 7 additions and 6 deletions
+3 -3
View File
@@ -140,8 +140,8 @@ void initfont()
TTF_Init();
int fsize = 64;
char *fonname = "packages\\misc\\font.ttf";
ttffont = TTF_OpenFont(findfile(fonname, "r"), fsize);
const char *fontname = "packages/misc/font.ttf";
ttffont = TTF_OpenFont(findfile(path(fontname, true), "r"), fsize);
utf8font.defaulth = 0;
utf8font.defaultw = 0;
@@ -670,7 +670,7 @@ void draw_text(const char *str, int left, int top, int r, int g, int b, int a, i
for(; next <= iter && next != end; )
{
int test = utf8::distance(next, iter);
//int test = utf8::distance(next, iter);
int c = utf8::peek_next(next, end);
if(next == cursoriter) { cx = x; cy = y; cc = c; }