(-description): Remove a stray , .

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18091 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-11-18 20:45:25 +00:00
parent ff53f21b06
commit e3222b9202
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-11-18 21:43 Alexander Malmberg <alexander@malmberg.org>
* Source/NSEvent.m (-description): Remove a stray , that was messing
up a +stringWithFormat: call. Make eventTypes static.
2003-11-11 14:41 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSApplication.m: (-targetForAction:): Added code to check the

View file

@ -580,7 +580,7 @@ static Class eventClass;
- (NSString*) description
{
const char* eventTypes[] = {
static const char *eventTypes[] = {
"leftMouseDown",
"leftMouseUp",
"otherMouseDown",
@ -672,7 +672,7 @@ static Class eventClass;
return [NSString stringWithFormat:
@"NSEvent: eventType = %s, point = { %f, %f }, modifiers = %u,"
@" time = %f, window = %d, dpsContext = %p,"
@" event number = %d, click = %d, pressure = %f",
@" event number = %d, click = %d, pressure = %f"
@" button = %d, deltaX = %f, deltaY = %f, deltaZ = %f",
eventTypes[event_type], location_point.x, location_point.y,
modifier_flags, event_time, window_num, event_context,