aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/os2
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/os2')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/os2/pdcclip.c12
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/os2/pdcdisp.c4
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/os2/pdckbd.c18
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/os2/pdcscrn.c4
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/os2/pdcsetsc.c6
5 files changed, 22 insertions, 22 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcclip.c b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcclip.c
index ddc61d9029..1922bb83f0 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcclip.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcclip.c
@@ -15,14 +15,14 @@ RCSID("$Id: pdcclip.c,v 1.33 2008/07/14 04:24:51 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.33 2008/07/14 04:24:51 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
diff --git a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcdisp.c b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcdisp.c
index 3c1b86e7a2..4f886daf20 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcdisp.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcdisp.c
@@ -4,7 +4,7 @@
RCSID("$Id: pdcdisp.c,v 1.49 2008/07/14 04:24:51 wmcbrine Exp $")
-/* ACS definitions originally by jshumate@wrdis01.robins.af.mil -- these
+/* ACS definitions originally by jshumate@wrdis01.robins.af.mil -- these
match code page 437 and compatible pages (CP850, CP852, etc.) */
#ifdef CHTYPE_LONG
@@ -70,7 +70,7 @@ void PDC_transform_line(int lineno, int x, int len, const chtype *srcp)
PDC_LOG(("PDC_transform_line() - called: line %d\n", lineno));
- /* replace the attribute part of the chtype with the
+ /* replace the attribute part of the chtype with the
actual color value for each chtype in the line */
for (j = 0; j < len; j++)
diff --git a/payloads/libpayload/curses/PDCurses-3.4/os2/pdckbd.c b/payloads/libpayload/curses/PDCurses-3.4/os2/pdckbd.c
index 42c24ccd05..df79882ac7 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/os2/pdckbd.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/os2/pdckbd.c
@@ -18,7 +18,7 @@ RCSID("$Id: pdckbd.c,v 1.89 2008/07/14 04:24:51 wmcbrine Exp $")
unsigned long PDC_get_input_fd(void);
Description:
- PDC_get_input_fd() returns the file descriptor that PDCurses
+ PDC_get_input_fd() returns the file descriptor that PDCurses
reads its input from. It can be used for select().
Portability X/Open BSD SYS V
@@ -147,12 +147,12 @@ bool PDC_check_key(void)
#ifdef EMXVIDEO
if (tahead == -1) /* Nothing typed yet */
- {
+ {
tahead = _read_kbd(0, 0, 0);
/* Read additional */
- if (tahead == 0)
+ if (tahead == 0)
tahead = _read_kbd(0, 1, 0) << 8;
}
@@ -189,7 +189,7 @@ bool PDC_check_key(void)
return kbhit();
# endif
#endif
-}
+}
#ifndef EMXVIDEO
@@ -212,8 +212,8 @@ static int _process_mouse_events(void)
((event.fs & move_mask[i]) ? BUTTON_MOVED : 0) |
((event.fs & press_mask[i]) ? BUTTON_PRESSED : 0);
- /* PRESS events are sometimes mistakenly reported as MOVE
- events. A MOVE should always follow a PRESS, so treat a MOVE
+ /* PRESS events are sometimes mistakenly reported as MOVE
+ events. A MOVE should always follow a PRESS, so treat a MOVE
immediately after a RELEASE as a PRESS. */
if ((pdc_mouse_status.button[i] == BUTTON_MOVED) &&
@@ -224,7 +224,7 @@ static int _process_mouse_events(void)
if (pdc_mouse_status.button[i] == BUTTON_PRESSED && SP->mouse_wait)
{
- /* Check for a click -- a PRESS followed immediately by a
+ /* Check for a click -- a PRESS followed immediately by a
release */
if (!mouse_events)
@@ -499,10 +499,10 @@ int PDC_mouse_set(void)
USHORT mask = ((mbe & (BUTTON1_PRESSED | BUTTON1_CLICKED |
BUTTON1_MOVED)) ? 6 : 0) |
- ((mbe & (BUTTON3_PRESSED | BUTTON3_CLICKED |
+ ((mbe & (BUTTON3_PRESSED | BUTTON3_CLICKED |
BUTTON3_MOVED)) ? 24 : 0) |
- ((mbe & (BUTTON2_PRESSED | BUTTON2_CLICKED |
+ ((mbe & (BUTTON2_PRESSED | BUTTON2_CLICKED |
BUTTON2_MOVED)) ? 96 : 0);
MouSetEventMask(&mask, mouse_handle);
diff --git a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcscrn.c b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcscrn.c
index e2d68faa03..daecb50a44 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcscrn.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcscrn.c
@@ -260,9 +260,9 @@ static bool _screen_mode_equals(VIOMODEINFO *oldmode)
return ((current.cb == oldmode->cb) &&
(current.fbType == oldmode->fbType) &&
- (current.color == oldmode->color) &&
+ (current.color == oldmode->color) &&
(current.col == oldmode->col) &&
- (current.row == oldmode->row) &&
+ (current.row == oldmode->row) &&
(current.hres == oldmode->vres) &&
(current.vres == oldmode->vres));
}
diff --git a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcsetsc.c b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcsetsc.c
index 2a770bd237..bc28b03aca 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/os2/pdcsetsc.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/os2/pdcsetsc.c
@@ -16,9 +16,9 @@ RCSID("$Id: pdcsetsc.c,v 1.44 2008/07/14 04:24:51 wmcbrine Exp $")
PDC_set_blink() toggles whether the A_BLINK attribute sets an
actual blink mode (TRUE), or sets the background color to high
intensity (FALSE). The default is platform-dependent (FALSE in
- most cases). It returns OK if it could set the state to match
- the given parameter, ERR otherwise. Current platforms also
- adjust the value of COLORS according to this function -- 16 for
+ most cases). It returns OK if it could set the state to match
+ the given parameter, ERR otherwise. Current platforms also
+ adjust the value of COLORS according to this function -- 16 for
FALSE, and 8 for TRUE.
PDC_set_title() sets the title of the window in which the curses