Prevented a possible program error in Xorriso_dialog_input()

This commit is contained in:
Thomas Schmitt 2015-11-04 12:40:06 +00:00
parent cf7ebd6316
commit 1f12bee223
2 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ int Xorriso_dialog_input(struct XorrisO *xorriso, char line[], int linesize,
get_single:;
if(xorriso->buffered_dialog != NULL && !(flag & 16)) {
if(xorriso->buffered_dialog != NULL && !(flag & (16 | 2))) {
/* Consume next buffered line */
next_lst= Xorriso_lst_get_next(xorriso->buffered_dialog, 0);
strcpy(line, Xorriso_lst_get_text(xorriso->buffered_dialog, 0));

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.04.114353"
#define Xorriso_timestamP "2015.11.04.123926"