mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 07:20:38 +00:00
Add type casts to keep compiler happy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27481 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ae4c7503ac
commit
326aaadef2
5 changed files with 31 additions and 19 deletions
|
@ -5313,7 +5313,8 @@ configuation! */
|
|||
NSTextView *tv = [self _bestTextViewForUndo];
|
||||
|
||||
if ([tv shouldChangeTextInRange: undoRange
|
||||
replacementString: undoString ? [undoString string] : @""])
|
||||
replacementString: undoString ? (NSString*)[undoString string] :
|
||||
(NSString*)@""])
|
||||
{
|
||||
[tv replaceCharactersInRange: undoRange
|
||||
withAttributedString: undoString];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue