mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
d0094e951a
PR: ports/16024 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
34 lines
775 B
Plaintext
34 lines
775 B
Plaintext
*** src/lib/InterViews/style.c.orig Wed Jan 17 10:36:19 1996
|
|
--- src/lib/InterViews/style.c Mon Jan 3 13:49:46 2000
|
|
***************
|
|
*** 41,47 ****
|
|
--- 41,51 ----
|
|
#include <OS/ustring.h>
|
|
#include <ctype.h>
|
|
#ifdef JIV
|
|
+ #ifdef __STDC__
|
|
+ #include <stdio.h>
|
|
+ #else
|
|
#include <libc.h>
|
|
+ #endif
|
|
#endif /* JIV */
|
|
|
|
declarePtrList(StyleList,Style)
|
|
***************
|
|
*** 427,433 ****
|
|
for (long i = 0; i < e->avail_; i++) {
|
|
new_list[i] = e->entries_[i];
|
|
}
|
|
! for (i = e->avail_; i < new_avail; i++) {
|
|
new_list[i] = nil;
|
|
}
|
|
delete e->entries_;
|
|
--- 431,437 ----
|
|
for (long i = 0; i < e->avail_; i++) {
|
|
new_list[i] = e->entries_[i];
|
|
}
|
|
! for (int i = e->avail_; i < new_avail; i++) {
|
|
new_list[i] = nil;
|
|
}
|
|
delete e->entries_;
|