1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/x11-toolkits/iv/files/patch-bm

15 lines
462 B
Plaintext
Raw Normal View History

--- src/lib/InterViews/style.c.org Tue Mar 9 06:51:05 1993
+++ src/lib/InterViews/style.c Sun Jan 23 18:44:36 2000
@@ -420,9 +420,10 @@
long n = path->count();
if (e->avail_ <= n) {
+ long i;
long new_avail = n + 5;
StyleAttributeList** new_list = new StyleAttributeList*[new_avail];
- for (long i = 0; i < e->avail_; i++) {
+ for (i = 0; i < e->avail_; i++) {
new_list[i] = e->entries_[i];
}
for (i = e->avail_; i < new_avail; i++) {