]> git.decadent.org.uk Git - ion3.git/blobdiff - de/font.c
[svn-upgrade] Integrating new upstream version, ion3 (20070203)
[ion3.git] / de / font.c
index 9d80c1e30f16204e8f333231a7fb167a427e43d7..957cc61671d378bd0439d0ecd15bb5fce60762ae 100644 (file)
--- a/de/font.c
+++ b/de/font.c
@@ -1,7 +1,7 @@
 /*
  * ion/de/font.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2006
+ * Copyright (c) Tuomo Valkonen 1999-2007
  *
  * Ion is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by
@@ -267,10 +267,9 @@ void debrush_do_draw_string(DEBrush *brush, int x, int y,
 
 
 void debrush_draw_string(DEBrush *brush, int x, int y,
-                         const char *str, int len, bool needfill,
-                         const char *attrib)
+                         const char *str, int len, bool needfill)
 {
-    DEColourGroup *cg=debrush_get_colour_group(brush, attrib);
+    DEColourGroup *cg=debrush_get_current_colour_group(brush);
     if(cg!=NULL)
         debrush_do_draw_string(brush, x, y, str, len, needfill, cg);
 }