Fixed loop on twitkill/showdeleted no
This commit is contained in:
parent
a1717dc3de
commit
5bbcdba9f2
@ -12,6 +12,9 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
- Fixed infinite loop when last message is twitkill, previous deleted
|
||||||
|
and showdeleted is off (untested).
|
||||||
|
|
||||||
- Fixed header encoding in exported SOUP packets.
|
- Fixed header encoding in exported SOUP packets.
|
||||||
|
|
||||||
- Fixed small problem in editor when quoteline might left not painted
|
- Fixed small problem in editor when quoteline might left not painted
|
||||||
|
@ -386,8 +386,11 @@ void Reader() {
|
|||||||
|
|
||||||
switch(istwit) {
|
switch(istwit) {
|
||||||
case TWIT_KILL:
|
case TWIT_KILL:
|
||||||
TwitDeleteMsg(msg);
|
if(not msg->attr.del()) {
|
||||||
continue;
|
// prevent infinite loop on the last message
|
||||||
|
TwitDeleteMsg(msg);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
case TWIT_SKIP:
|
case TWIT_SKIP:
|
||||||
reader_keycode = ReaderGetKey();
|
reader_keycode = ReaderGetKey();
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user