X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Ftext.c;h=89f04c4922db6c45e4883678d316c4345fd37574;hb=6d37ddaaf9915af0f483f4fc04d07b98e99e091e;hp=924381178be53926c7bd25bb112706ef304e310c;hpb=681721dddc91bcdaef50002d1e861cc8d484e938;p=rocksndiamonds.git diff --git a/src/libgame/text.c b/src/libgame/text.c index 92438117..89f04c49 100644 --- a/src/libgame/text.c +++ b/src/libgame/text.c @@ -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 == '°') {