mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:50:48 +00:00
(-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:
parent
b00d2c51eb
commit
4b5c544ef0
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2003-11-11 14:41 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/NSApplication.m: (-targetForAction:): Added code to check the
|
* Source/NSApplication.m: (-targetForAction:): Added code to check the
|
||||||
|
|
|
@ -580,7 +580,7 @@ static Class eventClass;
|
||||||
|
|
||||||
- (NSString*) description
|
- (NSString*) description
|
||||||
{
|
{
|
||||||
const char* eventTypes[] = {
|
static const char *eventTypes[] = {
|
||||||
"leftMouseDown",
|
"leftMouseDown",
|
||||||
"leftMouseUp",
|
"leftMouseUp",
|
||||||
"otherMouseDown",
|
"otherMouseDown",
|
||||||
|
@ -672,7 +672,7 @@ static Class eventClass;
|
||||||
return [NSString stringWithFormat:
|
return [NSString stringWithFormat:
|
||||||
@"NSEvent: eventType = %s, point = { %f, %f }, modifiers = %u,"
|
@"NSEvent: eventType = %s, point = { %f, %f }, modifiers = %u,"
|
||||||
@" time = %f, window = %d, dpsContext = %p,"
|
@" 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",
|
@" button = %d, deltaX = %f, deltaY = %f, deltaZ = %f",
|
||||||
eventTypes[event_type], location_point.x, location_point.y,
|
eventTypes[event_type], location_point.x, location_point.y,
|
||||||
modifier_flags, event_time, window_num, event_context,
|
modifier_flags, event_time, window_num, event_context,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue