summaryrefslogtreecommitdiff
path: root/src/graphics
diff options
context:
space:
mode:
authorSaveliy Skresanov <savask@yandex.ru>2013-08-22 11:43:46 (GMT)
committer Saveliy Skresanov <savask@yandex.ru>2013-08-22 11:43:46 (GMT)
commitb2045b0a7fadbee87ecf52fe14699819b58e7667 (patch)
tree1fc607d0182f8a3934ea5ef786ab56cb4e456456 /src/graphics
parent12c471f25760aa8ec8b05ea7bf8d8defcff66059 (diff)
downloadpowder-b2045b0a7fadbee87ecf52fe14699819b58e7667.zip
powder-b2045b0a7fadbee87ecf52fe14699819b58e7667.tar.gz
Fix sign save/topic regex.
Diffstat (limited to 'src/graphics')
-rw-r--r--src/graphics/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Renderer.cpp b/src/graphics/Renderer.cpp
index d47b1ba..833cec2 100644
--- a/src/graphics/Renderer.cpp
+++ b/src/graphics/Renderer.cpp
@@ -927,7 +927,7 @@ void Renderer::DrawSigns()
sim->signs[i].pos(text, x, y, w, h);
clearrect(x, y, w+1, h);
drawrect(x, y, w+1, h, 192, 192, 192, 255);
- if (sregexp(signs[i].text.c_str(), "^{[c|t]:[0-9]*|.*}$"))
+ if (sregexp(signs[i].text.c_str(), "^{[ct]:[0-9]*|.*}$"))
drawtext(x+3, y+3, text, 255, 255, 255, 255);
else
drawtext(x+3, y+3, text, 0, 191, 255, 255);