diff options
| author | Petr Mrázek | 2012-03-03 14:38:24 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-03-03 14:38:24 +0100 |
| commit | 7fe8762852c11caeaeb486e9b76f024f5cbaf0d6 (patch) | |
| tree | 161c80a0738fa1d4d1b8fed845c59f29bd3abf9e /plugins/rename.cpp | |
| parent | 022822277d80152ca6ba4fad6102d68df35a7adc (diff) | |
| download | dfhack-7fe8762852c11caeaeb486e9b76f024f5cbaf0d6.tar.gz dfhack-7fe8762852c11caeaeb486e9b76f024f5cbaf0d6.tar.bz2 dfhack-7fe8762852c11caeaeb486e9b76f024f5cbaf0d6.tar.xz | |
Get rid of Simple namespace, Gui module is now a namespace.
Diffstat (limited to 'plugins/rename.cpp')
| -rw-r--r-- | plugins/rename.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/rename.cpp b/plugins/rename.cpp index 09d737be..0ff9469d 100644 --- a/plugins/rename.cpp +++ b/plugins/rename.cpp @@ -120,7 +120,7 @@ static command_result rename(Core * c, vector <string> ¶meters) if (parameters.size() != 2) return CR_WRONG_USAGE; - df::unit *unit = getSelectedUnit(c); + df::unit *unit = Gui::getSelectedUnit(c); if (!unit) return CR_WRONG_USAGE; @@ -153,7 +153,7 @@ static command_result rename(Core * c, vector <string> ¶meters) if (parameters.size() != 2) return CR_WRONG_USAGE; - df::unit *unit = getSelectedUnit(c); + df::unit *unit = Gui::getSelectedUnit(c); if (!unit) return CR_WRONG_USAGE; |
