mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 02:00:48 +00:00
Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
([NSWindow -setTitle:]): ([NSWindow -_initBackendWindow:]): changed cString into lossyCString during DPStitlewindow calls git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11809 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0c19c58a52
commit
3dbebb3faa
2 changed files with 7 additions and 3 deletions
|
@ -668,7 +668,7 @@ static NSNotificationCenter *nc = nil;
|
|||
|
||||
/* Other stuff we need to do for deferred windows */
|
||||
if (_windowTitle != nil)
|
||||
DPStitlewindow(GSCurrentContext(), [_windowTitle cString], _windowNum);
|
||||
DPStitlewindow(GSCurrentContext(), [_windowTitle lossyCString], _windowNum);
|
||||
if (!NSEqualSizes(_minimumSize, NSZeroSize))
|
||||
[self setMinSize: _minimumSize];
|
||||
if (!NSEqualSizes(_maximumSize, NSZeroSize))
|
||||
|
@ -860,7 +860,7 @@ static NSNotificationCenter *nc = nil;
|
|||
ASSIGN(_windowTitle, aString);
|
||||
[self setMiniwindowTitle: aString];
|
||||
if (_windowNum > 0)
|
||||
DPStitlewindow(GSCurrentContext(), [aString cString], _windowNum);
|
||||
DPStitlewindow(GSCurrentContext(), [aString lossyCString], _windowNum);
|
||||
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
||||
{
|
||||
[NSApp changeWindowsItem: self
|
||||
|
@ -881,7 +881,7 @@ static NSNotificationCenter *nc = nil;
|
|||
ASSIGN(_windowTitle, aString);
|
||||
[self setMiniwindowTitle: aString];
|
||||
if (_windowNum > 0)
|
||||
DPStitlewindow(GSCurrentContext(), [aString cString], _windowNum);
|
||||
DPStitlewindow(GSCurrentContext(), [aString lossyCString], _windowNum);
|
||||
if (_f.menu_exclude == NO && _f.has_opened == YES)
|
||||
{
|
||||
[NSApp changeWindowsItem: self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue