(-_launchSpellCheckerForLanguage:): Don't printf-expand the error message twice.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15965 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-02-15 17:07:44 +00:00
parent 4f7235ad35
commit d59dd69fca
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2003-02-15 18:04 Alexander Malmberg <alexander@malmberg.org>
* Source/NSSpellChecker.m (-_launchSpellCheckerForLanguage:): Don't
printf-expand the error message twice (might cause a crash if
'language' contains a "%").
Sat Feb 15 13:26:03 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/AppKit.h: Include NSRulerView.h

View file

@ -115,9 +115,8 @@ NSString *GSSpellServerName(NSString *checkerDictionary, NSString *language);
if (proxy == nil)
{
NSRunAlertPanel(nil,
[NSString stringWithFormat:
@"Failed to contact spell checker for language '%@'", language],
@"Continue", nil, nil);
@"Failed to contact spell checker for language '%@'",
@"Continue", nil, nil, language);
}
else
{