aboutsummaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-af
blob: 832602bfa7d80325f40fc8a92c0043dd6f552095 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
*** 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_;