mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Remove stray diagnostics. When will I learn?
[originally from svn r1088]
This commit is contained in:
parent
fc56312b45
commit
296cad5962
@ -205,11 +205,7 @@ unsigned long *lineptr(int y, int lineno) {
|
|||||||
line = index234(whichtree, treeindex);
|
line = index234(whichtree, treeindex);
|
||||||
|
|
||||||
/* We assume that we don't screw up and retrieve something out of range. */
|
/* We assume that we don't screw up and retrieve something out of range. */
|
||||||
if (line == NULL) {
|
|
||||||
debug(("line=%d y=%d treeindex=%d\n", lineno, y, treeindex));
|
|
||||||
debug(("screen:%d scrollback:%d\n", count234(screen), count234(scrollback)));
|
|
||||||
assert(line != NULL);
|
assert(line != NULL);
|
||||||
}
|
|
||||||
|
|
||||||
if (line[0] != cols) {
|
if (line[0] != cols) {
|
||||||
/*
|
/*
|
||||||
@ -381,8 +377,6 @@ void term_size(int newrows, int newcols, int newsavelines) {
|
|||||||
* away.
|
* away.
|
||||||
*/
|
*/
|
||||||
sblen = count234(scrollback);
|
sblen = count234(scrollback);
|
||||||
debug(("resizing rows=%d sblen=%d newrows=%d newsb=%d\n",
|
|
||||||
rows, sblen, newrows, newsavelines));
|
|
||||||
if (newrows > rows) {
|
if (newrows > rows) {
|
||||||
for (i = rows; i < newrows; i++) {
|
for (i = rows; i < newrows; i++) {
|
||||||
if (sblen > 0) {
|
if (sblen > 0) {
|
||||||
@ -408,7 +402,6 @@ void term_size(int newrows, int newcols, int newsavelines) {
|
|||||||
sblen--;
|
sblen--;
|
||||||
}
|
}
|
||||||
assert(count234(scrollback) <= newsavelines);
|
assert(count234(scrollback) <= newsavelines);
|
||||||
debug(("screen:%d scrollback:%d\n", count234(screen), count234(scrollback)));
|
|
||||||
disptop = 0;
|
disptop = 0;
|
||||||
|
|
||||||
newdisp = smalloc (newrows*(newcols+1)*TSIZE);
|
newdisp = smalloc (newrows*(newcols+1)*TSIZE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user