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