tracer crashes when no output file selected, simple workaround (FIXME if you know how to do it better)
This commit is contained in:
parent
3513be6f7d
commit
27134c26bc
|
@ -250,6 +250,7 @@ void BeginLoggingSequence(void){
|
||||||
if(!PromptForCDLogger())return; //do nothing if user selected no and CD Logger is needed
|
if(!PromptForCDLogger())return; //do nothing if user selected no and CD Logger is needed
|
||||||
|
|
||||||
if(logtofile){
|
if(logtofile){
|
||||||
|
if(logfilename == NULL) ShowLogDirDialog();
|
||||||
LOG_FP = fopen(logfilename,"w");
|
LOG_FP = fopen(logfilename,"w");
|
||||||
if(LOG_FP == NULL){
|
if(LOG_FP == NULL){
|
||||||
sprintf(str,"Error Opening File %s",logfilename);
|
sprintf(str,"Error Opening File %s",logfilename);
|
||||||
|
|
Loading…
Reference in New Issue