]> git.decadent.org.uk Git - ion3.git/blobdiff - de/font.c
Imported Upstream version 20090110
[ion3.git] / de / font.c
index 9d80c1e30f16204e8f333231a7fb167a427e43d7..e70870fc84fac79f17710fd0305ee0cc0ea455d9 100644 (file)
--- a/de/font.c
+++ b/de/font.c
@@ -1,12 +1,9 @@
 /*
  * ion/de/font.c
  *
- * Copyright (c) Tuomo Valkonen 1999-2006
+ * Copyright (c) Tuomo Valkonen 1999-2009
  *
- * 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
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
  */
 
 #include <string.h>
@@ -267,10 +264,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);
 }