diff options
| author | Jared Adams | 2012-04-16 20:43:30 -0600 |
|---|---|---|
| committer | Jared Adams | 2012-04-16 20:48:08 -0600 |
| commit | ebd21e9249ff747d247c6dff1fa7105a2aa6a345 (patch) | |
| tree | 486abffb67f9056070f26f488300b3e9d2883461 /plugins/tiletypes.cpp | |
| parent | 7946cafc8673401bcfa2ff2e116592755a0968f4 (diff) | |
| download | dfhack-ebd21e9249ff747d247c6dff1fa7105a2aa6a345.tar.gz dfhack-ebd21e9249ff747d247c6dff1fa7105a2aa6a345.tar.bz2 dfhack-ebd21e9249ff747d247c6dff1fa7105a2aa6a345.tar.xz | |
Fix some issues with last commit
Diffstat (limited to 'plugins/tiletypes.cpp')
| -rw-r--r-- | plugins/tiletypes.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/tiletypes.cpp b/plugins/tiletypes.cpp index 41627a85..546f9c2c 100644 --- a/plugins/tiletypes.cpp +++ b/plugins/tiletypes.cpp @@ -325,7 +325,7 @@ void printState(color_ostream &out) { out << "Filter: " << filter << std::endl << "Paint: " << paint << std::endl - << "Brush: " << brush->str() << std::endl; + << "Brush: " << brush << std::endl; } //zilpin: These two functions were giving me compile errors in VS2008, so I cheated with the C style loop below, just to get it to build. @@ -559,6 +559,7 @@ bool processTileType(color_ostream & out, TileType &paint, std::vector<std::stri } else if (option == "all" || option == "a") { + loc--; for (; loc < end; loc++) { std::string param = params[loc]; |
