Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
2468:483e8c7a3bd0 | 2469:3de172a37a93 |
---|---|
265 struct scrollbar_instance *inst, | 265 struct scrollbar_instance *inst, |
266 struct overhead_stats *ovstats) | 266 struct overhead_stats *ovstats) |
267 { | 267 { |
268 int total = 0; | 268 int total = 0; |
269 | 269 |
270 total += DEVMETH (d, compute_scrollbar_instance_usage, (d, inst, ovstats)); | 270 if (HAS_DEVMETH_P(d, compute_scrollbar_instance_usage)) |
271 total += DEVMETH (d, compute_scrollbar_instance_usage, (d, inst, ovstats)); | |
271 | 272 |
272 while (inst) | 273 while (inst) |
273 { | 274 { |
274 total += malloced_storage_size (inst, sizeof (*inst), ovstats); | 275 total += malloced_storage_size (inst, sizeof (*inst), ovstats); |
275 inst = inst->next; | 276 inst = inst->next; |