diff options
author | das <das> | 2007-06-04 09:28:44 (GMT) |
---|---|---|
committer | das <das> | 2007-06-04 09:28:44 (GMT) |
commit | 5cca131c49f39cce7cabd10ea39473d103e5d505 (patch) | |
tree | b3e77654d4b69228085592fcc9bcb40f322a2d57 /macosx/tkMacOSXDraw.c | |
parent | 824e6c983fb4c01fff29673cd17da4366a5e3f5b (diff) | |
download | tk-5cca131c49f39cce7cabd10ea39473d103e5d505.zip tk-5cca131c49f39cce7cabd10ea39473d103e5d505.tar.gz tk-5cca131c49f39cce7cabd10ea39473d103e5d505.tar.bz2 |
* macosx/tkMacOSXMenu.c: add error checking; whitespace cleanup.
* macosx/tkMacOSXDraw.c: sync comment formatting with HEAD.
* macosx/tkMacOSXEmbed.c:
* macosx/tkMacOSXEntry.c:
* macosx/tkMacOSXKeyEvent.c:
* macosx/tkMacOSXKeyboard.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXSend.c:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXWindowEvent.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXXStubs.c:
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index f6781d5..fb3d0c1 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.2.2.23 2007/05/31 13:42:12 das Exp $ + * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.2.2.24 2007/06/04 09:28:44 das Exp $ */ #include "tkMacOSXInt.h" @@ -603,7 +603,11 @@ XDrawLines( int i, lw = gc->line_width; if (npoints < 2) { - return; /* TODO: generate BadValue error. */ + /* + * TODO: generate BadValue error. + */ + + return; } display->request++; @@ -1562,9 +1566,8 @@ TkMacOSXSetUpGraphicsPort( } if (gc->line_style != LineSolid) { /* - * FIXME: - * Here the dash pattern should be set in the drawing environment. - * This is not possible with QuickDraw line drawing. + * FIXME: Here the dash pattern should be set in the drawing + * environment. This is not possible with QuickDraw line drawing. */ } } |