Skip to content

Commit

Permalink
spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Lindblad authored and Mistuke committed May 20, 2022
1 parent 9461e74 commit 8b77a0e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion System/Win32/Encoding.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Stability : Provisional
Portability : Non-portable (Win32 API)
Enocode/Decode mutibyte charactor using Win32 API.
Enocode/Decode mutibyte character using Win32 API.
-}

module System.Win32.Encoding
Expand Down
2 changes: 1 addition & 1 deletion System/Win32/File.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ foreign import WINDOWS_CCONV unsafe "windows.h DefineDosDeviceW"
----------------------------------------------------------------

-- These functions are very unusual in the Win32 API:
-- They dont return error codes
-- They don't return error codes

foreign import WINDOWS_CCONV unsafe "windows.h AreFileApisANSI"
areFileApisANSI :: IO Bool
Expand Down
2 changes: 1 addition & 1 deletion System/Win32/HardLink.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Note: You should worry about file system type when use this module's function in your application:
* NTFS only supprts this functionality.
* NTFS only supports this functionality.
* ReFS doesn't support hard link currently.
-}
Expand Down
4 changes: 2 additions & 2 deletions System/Win32/Info/Computer.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ type COMPUTER_NAME_FORMAT = UINT
-- Hardware Profiles
----------------------------------------------------------------
{-
-- TODO: Deside HW_PROFILE_INFO type design
-- TODO: Decide HW_PROFILE_INFO type design
type LPHW_PROFILE_INFO = Ptr HW_PROFILE_INFO
Expand Down Expand Up @@ -195,7 +195,7 @@ getUserName =
with (fromIntegral maxLength) $ \len -> do
failIfFalse_ "GetComputerName"
$ c_GetUserName buf len
-- GetUserNameW includes NUL charactor.
-- GetUserNameW includes NUL character.
peekTString buf
where
-- This requires Lmcons.h
Expand Down
4 changes: 2 additions & 2 deletions System/Win32/SimpleMAPI.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ mapiErrors =
, ((#const MAPI_E_TEXT_TOO_LARGE) , "Text too large")
, ((#const MAPI_E_INVALID_SESSION) , "Invalid session")
, ((#const MAPI_E_TYPE_NOT_SUPPORTED) , "Type not supported")
, ((#const MAPI_E_AMBIGUOUS_RECIPIENT) , "Ambigious recipient")
, ((#const MAPI_E_AMBIGUOUS_RECIPIENT) , "Ambiguous recipient")
#ifdef MAPI_E_AMBIGUOUS_RECIP
, ((#const MAPI_E_AMBIGUOUS_RECIP) , "Ambigious recipient")
, ((#const MAPI_E_AMBIGUOUS_RECIP) , "Ambiguous recipient")
#endif
, ((#const MAPI_E_MESSAGE_IN_USE) , "Message in use")
, ((#const MAPI_E_NETWORK_FAILURE) , "Network failure")
Expand Down
2 changes: 1 addition & 1 deletion System/Win32/SymbolicLink.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* require to use 'Run As Administrator' to run your application.
* or modify your application's manifect file to add
* or modify your application's manifest file to add
\<requestedExecutionLevel level='requireAdministrator' uiAccess='false'/\>.
Starting from Windows 10 version 1703 (Creators Update), after enabling
Expand Down
6 changes: 3 additions & 3 deletions cbits/dumpBMP.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void CreateBMPFile(LPCTSTR pszFileName, HBITMAP hBmp, HDC hDC)
// if BitCount != 0, color table will be retrieved
//
bmi.bmiHeader.biSize = 0x28; // GDI need this to work
bmi.bmiHeader.biBitCount = 0; // dont get the color table
bmi.bmiHeader.biBitCount = 0; // don't get the color table
if ((GetDIBits(hDC, hBmp, 0, 0, (LPSTR)NULL, &bmi, DIB_RGB_COLORS)) == 0) {
fprintf(stderr, "GetDIBits failed!");
return;
Expand All @@ -81,7 +81,7 @@ void CreateBMPFile(LPCTSTR pszFileName, HBITMAP hBmp, HDC hDC)
}

//
// Note: 24 bits per pixel has no color table. So, we dont have to
// Note: 24 bits per pixel has no color table. So, we don't have to
// allocate memory for retrieving that. Otherwise, we do.
//
pbmi = &bmi; // assume no color table
Expand Down Expand Up @@ -113,7 +113,7 @@ void CreateBMPFile(LPCTSTR pszFileName, HBITMAP hBmp, HDC hDC)
goto ErrExit1;
}
//
// Now that weve a bigger chunk of memory, lets copy the Bitmap
// Now that we've a bigger chunk of memory, lets copy the Bitmap
// info header data over
//
pjTmp = (PBYTE)pbmi;
Expand Down

2 comments on commit 8b77a0e

@Mistuke
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Win32 Bindings for Haskell / Win32 Continuous builds Build 120 is now running

@Mistuke
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Win32 Bindings for Haskell / Win32 Continuous builds Build 120 outcome was SUCCESS
Summary: Running Build time: 00:13:03

Please sign in to comment.