mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Missed in last commit of format string fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38570 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6d5a0cc236
commit
8b6d21351b
2 changed files with 5 additions and 4 deletions
|
@ -18,6 +18,7 @@
|
|||
* Source/GSXibLoader.m
|
||||
* Source/NSSplitView.m
|
||||
* Model/GMArchiver.m
|
||||
* TextConverters/RTF/RTFConsumer.m
|
||||
Format string fixes and casts
|
||||
|
||||
2015-05-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
|
|
@ -941,8 +941,8 @@ void GSRTFregisterFont (void *ctxt, const char *fontName,
|
|||
if (!fontName || !*fontName)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"Error in RTF (font omitted?), position:%d",
|
||||
TEXTPOSITION];
|
||||
format: @"Error in RTF (font omitted?), position:%lu",
|
||||
(unsigned long) TEXTPOSITION];
|
||||
}
|
||||
// exclude trailing ';' from fontName
|
||||
if (';' == fontName[strlen(fontName)-1])
|
||||
|
@ -967,9 +967,9 @@ void GSRTFfontNumber (void *ctxt, int fontNumber)
|
|||
{
|
||||
/* we're about to set an unknown font */
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"Error in RTF (referring to undefined font \\f%d), position:%d",
|
||||
format: @"Error in RTF (referring to undefined font \\f%d), position:%lu",
|
||||
fontNumber,
|
||||
TEXTPOSITION];
|
||||
(unsigned long) TEXTPOSITION];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue