Skip to content

Commit bf046ce

Browse files
authored
Fix lock-up on home key in exchange field (Tlf#433)
1 parent 0ac0597 commit bf046ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/getexchange.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ int getexchange(void) {
299299
* Fall through to KEY_LEFT stanza if ungetch() is successful.
300300
*/
301301
case KEY_HOME: {
302-
if (ungetch(x) != OK)
302+
if (current_qso.comment[0] == '\0' || ungetch(x) != OK)
303303
break;
304304
}
305305

0 commit comments

Comments
 (0)