Skip to content

Commit 4b05d51

Browse files
committed
Fix typos
Signed-off-by: Thomas Wilshaw <thomaswilshaw@gmail.com>
1 parent ec24ae3 commit 4b05d51

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ bool IconButton(const char* label, const ImVec2 size = ImVec2(0, 0)) {
627627
}
628628

629629
void AppUpdate() {
630-
// If something ahs happend that changed=s the active tabs state
630+
// If something has happend that changed the active tabs state
631631
// then handle any redraw/recalculation flags here
632632
if (appState.active_tab && appState.active_tab->state_change) {
633633
appState.active_tab->marker_filter_state.reload = true;

app.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ struct MarkerFilterState {
9090
bool name_check = true; // State of filter by Name checkbox
9191
bool item_check = false; // State of filter by Item checkbox
9292
std::vector<marker_parent_pair> pairs; // List of Markers the passed filtering
93-
bool reload = false; // Trigger from loading a new file
93+
bool reload = false; // Trigger from loading a new file or state change
9494
std::string filter_marker_color; // Stores the selected color in the combo box
9595
};
9696

@@ -131,7 +131,7 @@ struct TabData {
131131

132132
// This should be set to true whenever something happens that changes to state
133133
// of the tab . Then on the next draw loop we can check this and update things
134-
// as required. See the Effects Inspector for an example. If set to true it is
134+
// as required. See the Effects Inspector for an example. If set to true
135135
// things are handled in AppUpdate() in app.c
136136
// TODO: Could use to add a "file changed" indicator to the tab headers
137137
bool state_change = false;

0 commit comments

Comments
 (0)