mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +00:00
Fix compiler warnings reported by
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36165 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
07faddc706
commit
941afdac86
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-02-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSDragView.m
|
||||
* Source/NSTextView.m
|
||||
Fix compiler warnings reported by
|
||||
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
|
||||
2013-02-17 German A. Arias <german@xelalug.org>
|
||||
|
||||
* Resources/Spanish.lproj/Localizable.strings: Translations.
|
||||
|
|
|
@ -497,7 +497,7 @@ static GSDragView *sharedDragView = nil;
|
|||
|
||||
NSDebugLLog (@"NSDragging",
|
||||
@"drag, operation, target mask = (%x, %x, %x), dnd aware = %d\n",
|
||||
dragMask, operationMask, targetMask,
|
||||
(unsigned int)dragMask, (unsigned int)operationMask, (unsigned int)targetMask,
|
||||
(targetWindowRef != 0));
|
||||
|
||||
if (cursors == nil)
|
||||
|
|
|
@ -5780,7 +5780,7 @@ static const NSInteger GSSpellingSuggestionMenuItemTag = 1;
|
|||
|
||||
- (void) rightMouseDown: (NSEvent *)theEvent
|
||||
{
|
||||
NSUInteger i;
|
||||
NSInteger i;
|
||||
NSMenu *menu = [[self class] defaultMenu];
|
||||
NSPoint point = [self convertPoint: [theEvent locationInWindow] fromView: nil];
|
||||
NSUInteger index = [self _characterIndexForPoint: point
|
||||
|
@ -5792,7 +5792,7 @@ static const NSInteger GSSpellingSuggestionMenuItemTag = 1;
|
|||
if (!_layoutManager)
|
||||
return;
|
||||
|
||||
for (i=[[menu itemArray] count]-1; i>=0; --i)
|
||||
for (i = [[menu itemArray] count] - 1; i >= 0; --i)
|
||||
{
|
||||
NSMenuItem *item = [menu itemAtIndex: i];
|
||||
if ([item tag] == GSSpellingSuggestionMenuItemTag)
|
||||
|
|
Loading…
Reference in a new issue