diff options
author | Adrian Robert <Adrian.B.Robert@gmail.com> | 2010-11-04 20:10:50 +0200 |
---|---|---|
committer | Adrian Robert <Adrian.B.Robert@gmail.com> | 2010-11-04 20:10:50 +0200 |
commit | 3fdebbf9ac5507cf112ee58613a02f73039c4e41 (patch) | |
tree | f09b005ed34cc50ee1771c0cf069a66c97ad59f3 /src/nsfont.m | |
parent | eea682b6d1e8a2c518dc8402160bbccd999d64e7 (diff) | |
download | emacs-3fdebbf9ac5507cf112ee58613a02f73039c4e41.tar.gz |
* nsfont.m (nsfont_draw) * nsimage.m (EmacsImage-setXBMColor:) * nsterm.m (EmacsView-performDragOperation:): Correct empty return statements. Based on a patch by Ismail Donmez <ismail@namtrac.org>.
Diffstat (limited to 'src/nsfont.m')
-rw-r--r-- | src/nsfont.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nsfont.m b/src/nsfont.m index 115986774d8..63b94a1b67a 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -1211,7 +1211,6 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y, DPSstroke (context); DPSgrestore (context); - return to-from; } #else /* NS_IMPL_COCOA */ @@ -1280,10 +1279,9 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y, } CGContextRestoreGState (gcontext); - return; } #endif /* NS_IMPL_COCOA */ - + return to-from; } |