/js/app/

href='https://git.beyermatthi.as/alacritty' title='alacritty Git repository'/>
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Lindhe <martin-commit@ubique.se>2017-10-30 16:03:58 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-10-30 09:25:13 -0700
commit5b444375f22927c3661c331f3f37519940204bc0 (patch)
tree0079436834a54bd5e58e48e46a253f2a73890b6d
parentf646f6c9f8b04d7c880920941eccce699fba6b04 (diff)
fix some typos in comments
-rw-r--r--docs/ansicode.txt4
-rw-r--r--font/src/ft/fc/pattern.rs6
-rw-r--r--font/src/ft/mod.rs2
-rw-r--r--src/ansi.rs10
-rw-r--r--src/config.rs2
-rw-r--r--src/display.rs2
-rw-r--r--src/event_loop.rs2
-rw-r--r--src/selection.rs4
-rw-r--r--src/term/mod.rs8
-rw-r--r--src/tty.rs2
10 files changed, 21 insertions, 21 deletions
diff --git a/docs/ansicode.txt b/docs/ansicode.txt
index 8767b9e7..e2ec1aac 100644
--- a/docs/ansicode.txt
+++ b/docs/ansicode.txt
@@ -184,7 +184,7 @@ Oct Hex Name * (* marks function used in DEC VT series or LA series terminals)
230 98 X Reserved for for future standard
231 99 Y Reserved
232 9A Z * Reserved, but causes DEC terminals to respond with DA codes
-233 9B [ CSI * Control Sequence Introducer (described in a seperate table)
+233 9B [ CSI * Control Sequence Introducer (described in a separate table)
234 9C \ ST * String Terminator (VT125 exits graphics)
235 9D ] OSC Operating System Command (reprograms intelligent terminal)
236 9E ^ PM Privacy Message (password verification), terminated by ST
@@ -268,7 +268,7 @@ Oct Hex * (* marks function used in DEC VT series or LA series terminals)
073 3B ;
074 3C < * DECANSI - Switch from VT52 mode to VT100 mode
075 3D = * DECKPAM - Set keypad to applications mode (ESCape instead of digits)
-076 3E > * DECKPNM - Set keypad to numeric mode (digits intead of ESCape seq)
+076 3E > * DECKPNM - Set keypad to numeric mode (digits instead of ESCape seq)
077 3F ?
DCS Device Control Strings used by DEC terminals (ends with ST)
diff --git a/font/src/ft/fc/pattern.rs b/font/src/ft/fc/pattern.rs
index 88cf37be..592d3859 100644
--- a/font/src/ft/fc/pattern.rs
+++ b/font/src/ft/fc/pattern.rs
@@ -71,7 +71,7 @@ impl<'a> StringPropertyIter<'a> {
}
}
-/// Iterator over interger properties
+/// Iterator over integer properties
pub struct BooleanPropertyIter<'a> {
pattern: &'a PatternRef,
object: &'a [u8],
@@ -108,7 +108,7 @@ impl<'a> BooleanPropertyIter<'a> {
}
}
-/// Iterator over interger properties
+/// Iterator over integer properties
pub struct IntPropertyIter<'a> {
pattern: &'a PatternRef,
object: &'a [u8],
@@ -226,7 +226,7 @@ impl<'a> LcdFilterPropertyIter<'a> {
}
}
-/// Iterator over interger properties
+/// Iterator over integer properties
pub struct DoublePropertyIter<'a> {
pattern: &'a PatternRef,
object: &'a [u8],
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs
index ce5cea62..6cd859e9 100644
--- a/font/src/ft/mod.rs
+++ b/font/src/ft/mod.rs
@@ -142,7 +142,7 @@ impl IntoFontconfigType for Weight {
}
impl FreeTypeRasterizer {
- /// Load a font face accoring to `FontDesc`
+ /// Load a font face according to `FontDesc`
fn get_face(&mut self, desc: &FontDesc, size: Size) -> Result<FontKey, Error> {
// Adjust for DPI
let size = Size::new(size.as_f32_pts() * self.device_pixel_ratio * 96. / 72.);
diff --git a/src/ansi.rs b/src/ansi.rs