From 688f17fda35e9236de4d6080684c4714b6695dbd Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 19 May 2022 11:26:19 +0900 Subject: [PATCH] Correct some typos in comments/docs --- libs/input/in_binding.c | 2 +- libs/input/in_imt.c | 2 +- tools/qfbsp/source/solidbsp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/input/in_binding.c b/libs/input/in_binding.c index 562ac7636..8a0319934 100644 --- a/libs/input/in_binding.c +++ b/libs/input/in_binding.c @@ -365,7 +365,7 @@ in_bind_f (void) Sys_Printf ("in_bind imt device type number binding...\n"); Sys_Printf (" imt: the name of the input mapping table in which the" " intput will be bound\n"); - Sys_Printf (" device: the nickname or id of the devise owning" + Sys_Printf (" device: the nickname or id of the device owning" " the input to be bound\n"); Sys_Printf (" type: the type of input to be bound (axis or" " button)\n"); diff --git a/libs/input/in_imt.c b/libs/input/in_imt.c index 5df45d7b8..2c2981369 100644 --- a/libs/input/in_imt.c +++ b/libs/input/in_imt.c @@ -897,7 +897,7 @@ static imtcmd_t imt_commands[] = { "contexts\n" "The new switcher will be attached to the specified context\n" "default_imt specifies the default imt to be used for all possible\n" - "states and must axis and be in the context.\n" + "states and must exist and be in the context.\n" "input0..inputN specify the inputs (cvar or button) used to set the\n" "switcher's state. As each input forms a bit in the state index,\n" "there will be 2**(N+1) states (so 4 inputs will result in 16\n" diff --git a/tools/qfbsp/source/solidbsp.c b/tools/qfbsp/source/solidbsp.c index a06ad512a..58cf56f62 100644 --- a/tools/qfbsp/source/solidbsp.c +++ b/tools/qfbsp/source/solidbsp.c @@ -110,7 +110,7 @@ FaceSide (const face_t *in, const plane_t *split) return SIDE_ON; } -/** Chose the best plane for dividing the bsp. +/** Choose the best plane for dividing the bsp. The clipping hull BSP doesn't worry about avoiding splits, so this function tries to find the plane that gives the most even split of the