Skip to content

Commit

Permalink
Removed redundant constraints. Bumped version to 2.7.0.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpanne committed Apr 11, 2016
1 parent cce6519 commit 58d0627
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.7.0.7
-------
* Removed redundant constraints.

2.7.0.6
--------
* Relaxed upper version bound for `OpenGLRaw`.
Expand Down
2 changes: 1 addition & 1 deletion GLUT.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: GLUT
version: 2.7.0.6
version: 2.7.0.7
synopsis: A binding for the OpenGL Utility Toolkit
description:
A Haskell binding for the OpenGL Utility Toolkit, a window system independent
Expand Down
2 changes: 1 addition & 1 deletion src/Graphics/UI/GLUT/Fonts.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ bitmapString f s = do
i <- marshalBitmapFont f
mapM_ (\c -> withChar c (glutBitmapCharacter i)) s

withChar :: MonadIO m => Char -> (CInt -> m a) -> m a
withChar :: Char -> (CInt -> m a) -> m a
withChar c f = f . fromIntegral . ord $ c

--------------------------------------------------------------------------------
Expand Down

0 comments on commit 58d0627

Please sign in to comment.