From 01eecdb69868be3d98b9bb5d29dbaebd77966301 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Tue, 18 Feb 2014 20:07:29 +0100 Subject: [PATCH] more missing prototypes --- AppKit/CPTextView/CPFontPanel.j | 2 +- AppKit/CPTextView/_CPRTFParser.j | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTextView/CPFontPanel.j b/AppKit/CPTextView/CPFontPanel.j index aa77b6f2f..aa431084e 100755 --- a/AppKit/CPTextView/CPFontPanel.j +++ b/AppKit/CPTextView/CPFontPanel.j @@ -376,7 +376,7 @@ var _availableTraits= [@"Normal", @"Italic", @"Bold", @"Bold Italic"], } // FIXME Locale support -- (void)currentTrait +- (unsigned)currentTrait { var sel = [_traitBrowser selectedItem]; diff --git a/AppKit/CPTextView/_CPRTFParser.j b/AppKit/CPTextView/_CPRTFParser.j index 2be2c2368..88b5e8d46 100755 --- a/AppKit/CPTextView/_CPRTFParser.j +++ b/AppKit/CPTextView/_CPRTFParser.j @@ -322,7 +322,7 @@ var kRgsymRtf = { return YES; } -- (CPString)_parseSpec:sym parameter:v +- (CPString)_parseSpec:(CPArray)sym parameter:(CPString)v { var ch = ''; switch (sym[4])