aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnustep-gui/files/patch-icu68
blob: 5852e9c8e8a29ccb08f5ee73b4a9e206e0c4aff4 (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
Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844

GSCharacterPanel.m:81:10: error: use of undeclared identifier 'TRUE'
  return TRUE;
         ^
GSCharacterPanel.m:106:10: error: use of undeclared identifier 'TRUE'
  return TRUE;
         ^

--- Source/GSCharacterPanel.m.orig	2019-01-06 22:00:38 UTC
+++ Source/GSCharacterPanel.m
@@ -78,7 +78,7 @@
 static UBool enumCharNamesFn(void *context, UChar32 code, UCharNameChoice nameChoice, const char *name, int32_t length)
 {
   [(NSMutableIndexSet*)context addIndex: (NSUInteger)code];
-  return TRUE;
+  return true;
 }
 
 static NSIndexSet *AssignedCodepoints()
@@ -103,7 +103,7 @@ static UBool searchCharNamesFn(void *context, UChar32 
     {
       [ctx->set addIndex: (NSUInteger)code];
     }
-  return TRUE;
+  return true;
 }
 
 static NSIndexSet *CodepointsWithNameContainingSubstring(NSString *str)