+ samll fix to make it working with XR14

pull/9/head
kelson42 14 years ago
parent 6e514f44f5
commit 38dbceeb50

@ -36,11 +36,13 @@ int main(int argc, char *argv[])
string application_ini = computeAbsolutePath(cwd, "application.ini"); string application_ini = computeAbsolutePath(cwd, "application.ini");
//debug prints //debug prints
// cout << "CurProg: " << progpath << endl; /*
// cout << "cwd: " << cwd << endl; cout << "CurProg: " << progpath << endl;
// cout << "LD path: " << ld_path << endl; cout << "cwd: " << cwd << endl;
// cout << "xulrunner_path: " << xulrunner_path << endl; cout << "LD path: " << ld_path << endl;
// cout << "application_ini: " << application_ini << endl; cout << "xulrunner_path: " << xulrunner_path << endl;
cout << "application_ini: " << application_ini << endl;
*/
// exist if xulrunner can't be found // exist if xulrunner can't be found
if (!fileExists(xulrunner_path)) { if (!fileExists(xulrunner_path)) {
@ -55,5 +57,5 @@ int main(int argc, char *argv[])
} }
// execute xulrunner // execute xulrunner
return execl(xulrunner_path.c_str(), "xulrunner-bin", application_ini.c_str(), argument, NULL); return execl(xulrunner_path.c_str(), xulrunner_path.c_str(), application_ini.c_str(), argument, NULL);
} }

Loading…
Cancel
Save