- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/CmdAction/ElementDbAction.cpp
r112b09 r198494 6 6 */ 7 7 8 #include "Helpers/MemDebug.hpp"9 10 8 #include "Actions/CmdAction/ElementDbAction.hpp" 11 #include "CommandLineParser.hpp"12 9 #include "config.hpp" 13 10 #include "log.hpp" … … 43 40 config *configuration = World::getInstance().getConfig(); 44 41 dialog->queryString(NAME, &databasepath, MapOfActions::getInstance().getDescription(NAME)); 45 strcpy(configuration->databasepath, databasepath.c_str());46 42 47 43 if(dialog->display()) { 44 strcpy(configuration->databasepath, databasepath.c_str()); 48 45 delete dialog; 49 46 } else { 50 47 delete dialog; 48 return Action::failure; 51 49 } 52 50
Note:
See TracChangeset
for help on using the changeset viewer.