mirror of
https://github.com/RGBCube/serenity
synced 2025-08-12 19:07:48 +00:00
Everywhere: Fix typos
This commit is contained in:
parent
7ad31651bd
commit
421587c15c
12 changed files with 16 additions and 16 deletions
|
@ -111,7 +111,7 @@ u32 CanonicalCode::read_symbol(InputBitStream& stream) const
|
|||
code_bits = code_bits << 1 | stream.read_bits(1);
|
||||
ASSERT(code_bits < (1 << 16));
|
||||
|
||||
// FIXME: This is very inefficent and could greatly be improved by implementing this
|
||||
// FIXME: This is very inefficient and could greatly be improved by implementing this
|
||||
// algorithm: https://www.hanshq.net/zip.html#huffdec
|
||||
size_t index;
|
||||
if (AK::binary_search(m_symbol_codes.span(), code_bits, &index))
|
||||
|
|
|
@ -249,7 +249,7 @@ static void parse_variable_location(const Dwarf::DIE& variable_die, DebugInfo::V
|
|||
break;
|
||||
}
|
||||
default:
|
||||
dbgln("Warninig: unhandled Dwarf location type: {}", (int)location_info.value().type);
|
||||
dbgln("Warning: unhandled Dwarf location type: {}", (int)location_info.value().type);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -286,7 +286,7 @@ public:
|
|||
empend((ByteCodeValueType)2); // Fail two forks
|
||||
empend((ByteCodeValueType)OpCodeId::Save);
|
||||
empend((ByteCodeValueType)OpCodeId::ForkJump);
|
||||
empend((ByteCodeValueType) - (body_length + 5)); // JUMP to lavel _L
|
||||
empend((ByteCodeValueType) - (body_length + 5)); // JUMP to label _L
|
||||
empend((ByteCodeValueType)OpCodeId::Restore);
|
||||
return;
|
||||
}
|
||||
|
@ -321,7 +321,7 @@ public:
|
|||
empend((ByteCodeValueType)2); // Fail two forks
|
||||
empend((ByteCodeValueType)OpCodeId::Save);
|
||||
empend((ByteCodeValueType)OpCodeId::ForkJump);
|
||||
empend((ByteCodeValueType) - (body_length + 7)); // JUMP to lavel _L
|
||||
empend((ByteCodeValueType) - (body_length + 7)); // JUMP to label _L
|
||||
empend((ByteCodeValueType)OpCodeId::Restore);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -527,7 +527,7 @@ void Compositor::flush(const Gfx::IntRect& a_rect)
|
|||
{
|
||||
auto rect = Gfx::IntRect::intersection(a_rect, Screen::the().rect());
|
||||
|
||||
// Almost everything in Compositor is in logical coordintes, with the painters having
|
||||
// Almost everything in Compositor is in logical coordinates, with the painters having
|
||||
// a scale applied. But this routine accesses the backbuffer pixels directly, so it
|
||||
// must work in physical coordinates.
|
||||
rect = rect * Screen::the().scale_factor();
|
||||
|
|
|
@ -114,7 +114,7 @@ int main(int argc, char** argv)
|
|||
parser.add_option(format, "Format the given file into stdout and exit", "format", 0, "file");
|
||||
parser.add_option(should_format_live, "Enable live formatting", "live-formatting", 'f');
|
||||
parser.add_positional_argument(file_to_read_from, "File to read commands from", "file", Core::ArgsParser::Required::No);
|
||||
parser.add_positional_argument(script_args, "Extra argumets to pass to the script (via $* and co)", "argument", Core::ArgsParser::Required::No);
|
||||
parser.add_positional_argument(script_args, "Extra arguments to pass to the script (via $* and co)", "argument", Core::ArgsParser::Required::No);
|
||||
|
||||
parser.parse(argc, argv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue