summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch')
-rw-r--r--gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch b/gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch
new file mode 100644
index 000000000000..b2a0bfedcd3c
--- /dev/null
+++ b/gnustep-apps/textedit/files/textedit-0.95_pre20100427-gcc47.patch
@@ -0,0 +1,20 @@
+--- textedit.app-4.0+20061029.orig/Document.m
++++ textedit.app-4.0+20061029/Document.m
+@@ -1361,13 +1361,13 @@ validateToggleItem (NSMenuItem *aCell, B
+ {
+ SEL action = [aCell action];
+ #ifdef GNUSTEP
+- const char *sel_name = sel_get_name (action);
++ const char *sel_name = sel_getName (action);
+
+- if (!strcmp (sel_name, sel_get_name (@selector (toggleRich:)))) {
++ if (!strcmp (sel_name, sel_getName (@selector (toggleRich:)))) {
+ validateToggleItem (aCell, [self isRichText], _(@"&Make Plain Text"), _(@"&Make Rich Text"));
+- } else if (!strcmp (sel_name, sel_get_name (@selector (togglePageBreaks:)))) {
++ } else if (!strcmp (sel_name, sel_getName (@selector (togglePageBreaks:)))) {
+ validateToggleItem (aCell, [self hasMultiplePages], _(@"&Wrap to Window"), _(@"&Wrap to Page"));
+- } else if (!strcmp (sel_name, sel_get_name (@selector (toggleHyphenation:)))) {
++ } else if (!strcmp (sel_name, sel_getName (@selector (toggleHyphenation:)))) {
+ if (!hyphenationSupported()) // Disable it
+ return NO;
+ validateToggleItem (aCell, ([self hyphenationFactor] > 0.0), _(@"Disallow &Hyphenation"), _(@"Allow &Hyphenation"));