mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
Everywhere: Fix more typos
This commit is contained in:
parent
4e86c34ef0
commit
bcfc6f0c57
57 changed files with 108 additions and 108 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
String to_string() const;
|
||||
|
||||
private:
|
||||
// Internal representation ofthe current decimal value.
|
||||
// Internal representation of the current decimal value.
|
||||
bool m_negative { false };
|
||||
long m_int_value { 0 };
|
||||
long m_frac_value { 0 };
|
||||
|
|
|
@ -151,10 +151,10 @@ static bool handle_breakpoint_command(const String& command)
|
|||
|
||||
bool success = g_debug_session->insert_breakpoint(reinterpret_cast<void*>(breakpoint_address));
|
||||
if (!success) {
|
||||
fprintf(stderr, "coult not insert breakpoint at: %08x\n", breakpoint_address);
|
||||
fprintf(stderr, "could not insert breakpoint at: %08x\n", breakpoint_address);
|
||||
return false;
|
||||
}
|
||||
printf("breakpoint insterted at: %08x\n", breakpoint_address);
|
||||
printf("breakpoint inserted at: %08x\n", breakpoint_address);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -184,8 +184,8 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
|
|||
auto left = config->read_num_entry("Window", "Left", 150);
|
||||
auto top = config->read_num_entry("Window", "Top", 75);
|
||||
auto width = config->read_num_entry("Window", "Width", 640);
|
||||
auto heigth = config->read_num_entry("Window", "Heigth", 480);
|
||||
window->set_rect({ left, top, width, heigth });
|
||||
auto height = config->read_num_entry("Window", "Height", 480);
|
||||
window->set_rect({ left, top, width, height });
|
||||
|
||||
auto& widget = window->set_main_widget<GUI::Widget>();
|
||||
widget.set_layout<GUI::VerticalBoxLayout>();
|
||||
|
@ -683,7 +683,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
|
|||
|
||||
window->show();
|
||||
|
||||
// Read direcory read mode from config.
|
||||
// Read directory read mode from config.
|
||||
auto dir_view_mode = config->read_entry("DirectoryView", "ViewMode", "Icon");
|
||||
|
||||
if (dir_view_mode.contains("Table")) {
|
||||
|
@ -702,7 +702,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
|
|||
config->write_num_entry("Window", "Left", window->x());
|
||||
config->write_num_entry("Window", "Top", window->y());
|
||||
config->write_num_entry("Window", "Width", window->width());
|
||||
config->write_num_entry("Window", "Heigth", window->height());
|
||||
config->write_num_entry("Window", "Height", window->height());
|
||||
config->sync();
|
||||
|
||||
return GUI::Window::CloseRequestDecision::Close;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue