Browse Source

Prevented a possible program error in Xorriso_dialog_input()

master
Thomas Schmitt 7 years ago
parent
commit
1f12bee223
  1. 2
      xorriso/text_io.c
  2. 2
      xorriso/xorriso_timestamp.h

2
xorriso/text_io.c

@ -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));

2
xorriso/xorriso_timestamp.h

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

Loading…
Cancel
Save