* Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.

* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Path #3499 from Patrick Middleton).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20346 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2004-11-12 04:19:33 +00:00
parent 13e0addf7d
commit 36aaff3b9d
3 changed files with 14 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2004-11-11 Adam Fedor <fedor@gnu.org>
* Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.
* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Path #3499 from Patrick Middleton).
2004-11-11 Adam Fedor <fedor@gnu.org>
* Version: Add numeric value for runtime versioning.

View file

@ -423,6 +423,7 @@ static GSDragView *sharedDragView = nil;
name = nil;
newCursor = nil;
iname = nil;
switch (mask)
{
case NSDragOperationNone:

View file

@ -73,7 +73,7 @@
static NSNotificationCenter *nc;
#define STRICT 0
#define NSMATRIX_STRICT_CHECKING 0
#ifdef MIN
# undef MIN
@ -379,7 +379,7 @@ static SEL getSel;
if (column < 0)
{
column = 0;
#if STRICT == 0
#if NSMATRIX_STRICT_CHECKING == 0
NSLog(@"insert negative column (%d) in matrix", column);
#else
[NSException raise: NSRangeException
@ -468,7 +468,7 @@ static SEL getSel;
if (row < 0)
{
row = 0;
#if STRICT == 0
#if NSMATRIX_STRICT_CHECKING == 0
NSLog(@"insert negative row (%d) in matrix", row);
#else
[NSException raise: NSRangeException
@ -649,7 +649,7 @@ static SEL getSel;
}
else
{
#if STRICT == 0
#if NSMATRIX_STRICT_CHECKING == 0
NSLog(@"remove non-existent column (%d) from matrix", column);
#else
[NSException raise: NSRangeException
@ -695,7 +695,7 @@ static SEL getSel;
}
else
{
#if STRICT == 0
#if NSMATRIX_STRICT_CHECKING == 0
NSLog(@"remove non-existent row (%d) from matrix", row);
#else
[NSException raise: NSRangeException
@ -3526,7 +3526,7 @@ static SEL getSel;
//NSLog(@"%x - mr: %d mc:%d nr:%d nc:%d r:%d c:%d", (unsigned)self, _maxRows, _maxCols, _numRows, _numCols, row, col);
if (row < 0)
{
#if STRICT == 0
#if NSMATRIX_STRICT_CHECKING == 0
NSLog(@"renew negative row (%d) in matrix", row);
#else
[NSException raise: NSRangeException
@ -3536,7 +3536,7 @@ static SEL getSel;
}
if (col < 0)
{
#if STRICT == 0
#if NSMATRIX_STRICT_CHECKING == 0
NSLog(@"renew negative column (%d) in matrix", col);
#else
[NSException raise: NSRangeException