1997-03-02 14:55:59 +00:00
|
|
|
*** src/lib/InterViews/style.c.orig Wed Jan 17 10:36:19 1996
|
2000-01-11 15:52:35 +00:00
|
|
|
--- src/lib/InterViews/style.c Mon Jan 3 13:49:46 2000
|
1997-03-02 14:55:59 +00:00
|
|
|
***************
|
|
|
|
*** 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)
|
2000-01-11 15:52:35 +00:00
|
|
|
***************
|
|
|
|
*** 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_;
|