Corrected a bug about -status -return_with

This commit is contained in:
Thomas Schmitt 2008-02-11 17:45:58 +00:00
parent 164dfb371a
commit f4b0ff29be
2 changed files with 5 additions and 3 deletions

View File

@ -3969,8 +3969,10 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso,filter,fp,flag&2);
is_default= (strcmp(xorriso->return_with_text,"SORRY")==0);
sprintf(line,"-return_with %s\n",xorriso->return_with_text);
is_default= (strcmp(xorriso->return_with_text,"SORRY")==0 &&
xorriso->return_with_value==32);
sprintf(line,"-return_with %s %d\n",
xorriso->return_with_text, xorriso->return_with_value);
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso,filter,fp,flag&2);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.02.11.162406"
#define Xorriso_timestamP "2008.02.11.174517"