mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
1b8fb1d436
It wasn't used for anything except in an assert statement, which was triggered by the use of the scrlineptr() macro wrapper. Now moved that check into scrlineptr() itself, via a helper function that passes the line number of the scrlineptr() call site. (Yes, this is introducing another modalfatalbox in terminal.c, much like the dreaded line==NULL one that caused us so many headaches in past decades. But the check in question was being done _already_ by the assert in lineptr(), so this change shouldn't make it go off in any _more_ circumstances - and now, if it does, it will at least give us slightly more useful information about where the problem is!) |
||
---|---|---|
.. | ||
bidi_gettype.c | ||
bidi_test.c | ||
bidi.c | ||
bidi.h | ||
lineedit.c | ||
terminal.c | ||
terminal.h |