Skip to content

Commit

Permalink
from Kage Studio's sourceforge r816
Browse files Browse the repository at this point in the history
  • Loading branch information
creek23 committed Feb 26, 2024
1 parent 16364b9 commit fd3eea3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions studio/kage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2874,7 +2874,7 @@ void Kage::doOpenKSF() {
set_title(kagePath + " - " + KageAbout::app_title);
}

void Kage::doSaveDialog(string p_title) {
void Kage::doSaveDialog(std::string p_title) {
Gtk::FileChooserDialog dialog(p_title, Gtk::FILE_CHOOSER_ACTION_SAVE);
dialog.set_transient_for( *this);
dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
Expand Down Expand Up @@ -4836,8 +4836,8 @@ void Kage::parseKSF(std::string p_content) {
}
}

bool Kage::runExternal(string p_cmd, string p_param) {
string l_cmd = p_cmd + " " + p_param;
bool Kage::runExternal(std::string p_cmd, std::string p_param) {
std::string l_cmd = p_cmd + " " + p_param;

if (system(NULL)) {
int i = system(l_cmd.c_str());
Expand Down

0 comments on commit fd3eea3

Please sign in to comment.