Mercurial > hg > xemacs-beta
diff src/scrollbar.c @ 2469:3de172a37a93
[xemacs-hg @ 2005-01-06 03:45:28 by malcolmp]
Fix window-memory-usage failure on tty due to a call to an undefined method.
author | malcolmp |
---|---|
date | Thu, 06 Jan 2005 03:45:32 +0000 |
parents | 04bc9d2f42c7 |
children | 6fa9919a9a0b |
line wrap: on
line diff
--- a/src/scrollbar.c Wed Jan 05 22:51:26 2005 +0000 +++ b/src/scrollbar.c Thu Jan 06 03:45:32 2005 +0000 @@ -267,7 +267,8 @@ { int total = 0; - total += DEVMETH (d, compute_scrollbar_instance_usage, (d, inst, ovstats)); + if (HAS_DEVMETH_P(d, compute_scrollbar_instance_usage)) + total += DEVMETH (d, compute_scrollbar_instance_usage, (d, inst, ovstats)); while (inst) {