X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=de%2Ffont.c;h=5521125f61d85e69c86db76c5c131dc3b919ee2f;hb=ae4260bb64817c11f9a7140324cd3e3ba113e297;hp=9d80c1e30f16204e8f333231a7fb167a427e43d7;hpb=8366314611bf30a0f31d25bf5f5023186fa87692;p=ion3.git diff --git a/de/font.c b/de/font.c index 9d80c1e..5521125 100644 --- 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-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 - * 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 @@ -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); }