summaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-31 12:54:00 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-11-01 19:08:23 +0100
commite11835e2995d130890ca9f45cb3e304f2ea3a6a9 (patch)
treecfc5345e9d98b231de0699714771a5d7f54c6ce1 /payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c
parentdd6906328904309e4d93e4bcb04a6cfa3646f29d (diff)
libpayload: remove trailing whitespace and run dos2unix
Change-Id: Iffed3602456f5306711c65f06c873c58d4086e11 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/363 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c b/payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c
index 35b6bba514..4feefaee0d 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/win32/pdcclip.c
@@ -15,14 +15,14 @@ RCSID("$Id: pdcclip.c,v 1.30 2008/07/14 04:24:52 wmcbrine Exp $")
int PDC_clearclipboard(void);
Description:
- PDC_getclipboard() gets the textual contents of the system's
- clipboard. This function returns the contents of the clipboard
- in the contents argument. It is the responsibilitiy of the
+ PDC_getclipboard() gets the textual contents of the system's
+ clipboard. This function returns the contents of the clipboard
+ in the contents argument. It is the responsibilitiy of the
caller to free the memory returned, via PDC_freeclipboard().
- The length of the clipboard contents is returned in the length
+ The length of the clipboard contents is returned in the length
argument.
- PDC_setclipboard copies the supplied text into the system's
+ PDC_setclipboard copies the supplied text into the system's
clipboard, emptying the clipboard prior to the copy.
PDC_clearclipboard() clears the internal clipboard.
@@ -30,7 +30,7 @@ RCSID("$Id: pdcclip.c,v 1.30 2008/07/14 04:24:52 wmcbrine Exp $")
Return Values:
indicator of success/failure of call.
PDC_CLIP_SUCCESS the call was successful
- PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
+ PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
the clipboard contents
PDC_CLIP_EMPTY the clipboard contains no text
PDC_CLIP_ACCESS_ERROR no clipboard support
@@ -99,7 +99,7 @@ int PDC_setclipboard(const char *contents, long length)
if (!OpenClipboard(NULL))
return PDC_CLIP_ACCESS_ERROR;
- ptr1 = GlobalAlloc(GMEM_MOVEABLE|GMEM_DDESHARE,
+ ptr1 = GlobalAlloc(GMEM_MOVEABLE|GMEM_DDESHARE,
(length + 1) * sizeof(TCHAR));
if (!ptr1)