diff --git a/ChangeLog b/ChangeLog index fdd7121bd..9a8029a9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-06-03 Adam Fedor + + * Source/NSGraphicsContext.m (GSCurrentContext): Insert = (patch + from John BEPPU ). + Thu Jun 3 9:35:00 1999 Richard Frith-Macdonald * Source/NSWorkspace.m: Updated app launching code to supply info diff --git a/Source/NSGraphicsContext.m b/Source/NSGraphicsContext.m index 4e131de14..a41c1c7d7 100644 --- a/Source/NSGraphicsContext.m +++ b/Source/NSGraphicsContext.m @@ -72,7 +72,7 @@ NSGraphicsContext *GSCurrentContext() return (NSGraphicsContext*) th->_gcontext; #else - NSMutableDictionary *dict [[NSThread currentThread] threadDictionary]; + NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary]; return (NSGraphicsContext*) [dict objectForKey: NSGraphicsContextThreadKey]; #endif @@ -135,7 +135,7 @@ struct NSWindow_struct th->_gcontext = context; #else - NSMutableDictionary *dict [[NSThread currentThread] threadDictionary]; + NSMutableDictionary *dict = [[NSThread currentThread] threadDictionary]; [dict setObject: context forKey: NSGraphicsContextThreadKey]; #endif