X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Ftext.c;h=89f04c4922db6c45e4883678d316c4345fd37574;hb=696d50b659131ba46ea7f4c44ca4d29475e8cb4f;hp=ff95b3c2c2b1244e5d2e25feed845c4d3061754c;hpb=e5a881dc01d1533761aa8d6d0c41ed4a4bd5bbd0;p=rocksndiamonds.git diff --git a/src/libgame/text.c b/src/libgame/text.c index ff95b3c2..89f04c49 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -1,7 +1,7 @@ /*********************************************************** * Artsoft Retro-Game Library * *----------------------------------------------------------* -* (c) 1994-2000 Artsoft Entertainment * +* (c) 1994-2001 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -147,6 +147,10 @@ void DrawTextExt(DrawBuffer *bitmap, int x, int y, c = 92; else if (c == 'ü' || c == 'Ü') c = 93; + else if (c == '[' || c == ']') /* map to normal braces */ + c = (c == '[' ? '(' : ')'); + else if (c == '\\') /* bad luck ... */ + c = '/'; if ((c >= 32 && c <= 95) || c == '°') {