File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2882,7 +2882,7 @@ void clMainFrame::OnExecuteNoDebug(wxCommandEvent& event)
28822882
28832883 if (editor->untitled ())
28842884 {
2885- wxFileName tmpFileName = wxFileName (clStandardPaths::Get (). GetUserDataDir () , " .tmpbuild .c" );
2885+ wxFileName tmpFileName = wxFileName (wxFileName::GetTempDir () , " codepad_tmp_build .c" );
28862886 // sessionFileName.AppendDir("tmp");
28872887 wxFFile fp (tmpFileName.GetFullPath (), wxT (" wb" ));
28882888 if (!fp.IsOpened ())
@@ -2902,9 +2902,9 @@ void clMainFrame::OnExecuteNoDebug(wxCommandEvent& event)
29022902 ManagerST::Get ()->PushQueueCommand (buildCommand);
29032903 commandExecute.SetCheckBuildSuccess (true ); // execute only if build was successfull
29042904 ManagerST::Get ()->PushQueueCommand (commandExecute);
2905+ // ManagerST::Get()->ProcessCommandQueue();
29052906 ManagerST::Get ()->ProcessCommandQueue ();
2906- ManagerST::Get ()->ProcessCommandQueue ();
2907- ManagerST::Get ()->filename (wxEmptyString);
2907+ // ManagerST::Get()->filename(wxEmptyString);
29082908 }
29092909 catch (char * str)
29102910 {
You can’t perform that action at this time.
0 commit comments