diff options
| author | jacob1 <jfu614@gmail.com> | 2012-10-03 01:31:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-05 15:30:55 (GMT) |
| commit | 71db872e6422dd264ffa00a848d3f8a76e08b279 (patch) | |
| tree | 107d46e646437dc3685fdd8e1ff6d0593176ed80 /src/simulation | |
| parent | 7c0ba094b87a43ebaf819b8f38894163a9df8ae6 (diff) | |
| download | powder-71db872e6422dd264ffa00a848d3f8a76e08b279.zip powder-71db872e6422dd264ffa00a848d3f8a76e08b279.tar.gz | |
{t:15100|text} to open a forum thread (will try to add more shortcuts later)
Diffstat (limited to 'src/simulation')
| -rw-r--r-- | src/simulation/Sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Sign.cpp b/src/simulation/Sign.cpp index 01d388f..2caf6c3 100644 --- a/src/simulation/Sign.cpp +++ b/src/simulation/Sign.cpp @@ -28,7 +28,7 @@ void sign::pos(int & x0, int & y0, int & w, int & h) { w = Graphics::textwidth("Temp: 0000.00"); } - else if (sregexp(text.c_str(), "^{c:[0-9]*|.*}$")==0) + else if (sregexp(text.c_str(), "^{[c|t]:[0-9]*|.*}$")==0) { int sldr, startm; char buff[256]; |
