projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20020510-4-src
[rocksndiamonds.git]
/
src
/
libgame
/
text.c
diff --git
a/src/libgame/text.c
b/src/libgame/text.c
index 924381178be53926c7bd25bb112706ef304e310c..89f04c4922db6c45e4883678d316c4345fd37574 100644
(file)
--- 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 == '°')
{