]>
Commit | Line | Data |
---|---|---|
cf168368 JP |
1 | diff -ru gnustep-gui-0.24.0.orig/Source/GSCharacterPanel.m gnustep-gui-0.24.0/Source/GSCharacterPanel.m |
2 | --- gnustep-gui-0.24.0.orig/Source/GSCharacterPanel.m 2012-12-16 23:51:23.000000000 +0100 | |
3 | +++ gnustep-gui-0.24.0/Source/GSCharacterPanel.m 2021-08-16 20:39:11.913095999 +0200 | |
4 | @@ -78,7 +78,7 @@ | |
5 | static UBool enumCharNamesFn(void *context, UChar32 code, UCharNameChoice nameChoice, const char *name, int32_t length) | |
6 | { | |
7 | [(NSMutableIndexSet*)context addIndex: (NSUInteger)code]; | |
8 | - return TRUE; | |
9 | + return 1; | |
10 | } | |
11 | ||
12 | static NSIndexSet *AssignedCodepoints() | |
13 | @@ -103,7 +103,7 @@ | |
14 | { | |
15 | [ctx->set addIndex: (NSUInteger)code]; | |
16 | } | |
17 | - return TRUE; | |
18 | + return 1; | |
19 | } | |
20 | ||
21 | static NSIndexSet *CodepointsWithNameContainingSubstring(NSString *str) | |
22 | diff -ru gnustep-gui-0.24.0.orig/Source/NSBitmapImageRep+JPEG.m gnustep-gui-0.24.0/Source/NSBitmapImageRep+JPEG.m | |
23 | --- gnustep-gui-0.24.0.orig/Source/NSBitmapImageRep+JPEG.m 2013-12-06 18:45:37.000000000 +0100 | |
24 | +++ gnustep-gui-0.24.0/Source/NSBitmapImageRep+JPEG.m 2021-08-16 20:39:51.238754691 +0200 | |
25 | @@ -149,7 +149,7 @@ | |
26 | src->parent.next_input_byte = src->data; | |
27 | src->parent.bytes_in_buffer = src->length; | |
28 | ||
29 | - return TRUE; | |
30 | + return 1; | |
31 | } | |
32 | ||
33 | ||
34 | @@ -278,7 +278,7 @@ | |
35 | dest->pub.next_output_byte = dest->buffer; | |
36 | dest->pub.free_in_buffer = imageSize * cinfo->input_components; | |
37 | ||
38 | - return TRUE; | |
39 | + return 1; | |
40 | } | |
41 | ||
42 | /* | |
43 | @@ -372,7 +372,7 @@ | |
44 | /* Establish our own data source manager */ | |
45 | gs_jpeg_memory_src_create(&cinfo, imageData); | |
46 | ||
47 | - jpeg_read_header(&cinfo, TRUE); | |
48 | + jpeg_read_header(&cinfo, 1); | |
49 | gs_jpeg_memory_src_destroy(&cinfo); | |
50 | jpeg_destroy_decompress(&cinfo); | |
51 | ||
52 | @@ -427,7 +427,7 @@ | |
53 | /* Establish our own data source manager */ | |
54 | gs_jpeg_memory_src_create(&cinfo, imageData); | |
55 | ||
56 | - jpeg_read_header(&cinfo, TRUE); | |
57 | + jpeg_read_header(&cinfo, 1); | |
58 | ||
59 | /* we use RGB as target color space; others are not yet supported */ | |
60 | cinfo.out_color_space = JCS_RGB; | |
61 | @@ -622,8 +622,8 @@ | |
62 | ||
63 | // compress the image | |
64 | ||
65 | - jpeg_set_quality (&cinfo, quality, TRUE); | |
66 | - jpeg_start_compress (&cinfo, TRUE); | |
67 | + jpeg_set_quality (&cinfo, quality, 1); | |
68 | + jpeg_start_compress (&cinfo, 1); | |
69 | ||
70 | if (isRGB && [self hasAlpha]) // strip alpha channel before encoding | |
71 | { | |
72 | diff -ru gnustep-gui-0.24.0.orig/Source/win32-entry.c gnustep-gui-0.24.0/Source/win32-entry.c | |
73 | --- gnustep-gui-0.24.0.orig/Source/win32-entry.c 2008-06-10 06:01:49.000000000 +0200 | |
74 | +++ gnustep-gui-0.24.0/Source/win32-entry.c 2021-08-16 20:39:15.659666577 +0200 | |
75 | @@ -77,5 +77,5 @@ | |
76 | { | |
77 | } | |
78 | ||
79 | - return TRUE; | |
80 | + return 1; | |
81 | } |