diff options
| author | Saveliy Skresanov <savask@yandex.ru> | 2013-08-22 11:43:46 (GMT) |
|---|---|---|
| committer | Saveliy Skresanov <savask@yandex.ru> | 2013-08-22 11:43:46 (GMT) |
| commit | b2045b0a7fadbee87ecf52fe14699819b58e7667 (patch) | |
| tree | 1fc607d0182f8a3934ea5ef786ab56cb4e456456 /src/simulation/Sign.cpp | |
| parent | 12c471f25760aa8ec8b05ea7bf8d8defcff66059 (diff) | |
| download | powder-b2045b0a7fadbee87ecf52fe14699819b58e7667.zip powder-b2045b0a7fadbee87ecf52fe14699819b58e7667.tar.gz | |
Fix sign save/topic regex.
Diffstat (limited to 'src/simulation/Sign.cpp')
| -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 57d98bc..7ba94af 100644 --- a/src/simulation/Sign.cpp +++ b/src/simulation/Sign.cpp @@ -31,7 +31,7 @@ std::string sign::getText(Simulation *sim) else sprintf(buff, "Temp: 0.00"); //...temperature } - else if (sregexp(signText, "^{[c|t]:[0-9]*|.*}$")==0) + else if (sregexp(signText, "^{[ct]:[0-9]*|.*}$")==0) { int sldr, startm; memset(buff, 0, sizeof(buff)); |
